SkillAgentSearch skills...

S.js

tiny javascript sprintf

Install / Use

/learn @rauchg/S.js
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

s.js: minimalistic javascript sprintf().

// standalone
s('http://%s:%d', 'localhost', 40)
s('got %j', { this: 'will be JSON.stringified' })

// extend String.prototype
s.extend();
'http://%s:%d'.s('localhost', 40);
  • Node/browser compatible. Published as s on npm.
  • Opt-in String.prototype extension
  • Only supports %s and %d. Escape % as %%.

Related Skills

View on GitHub
GitHub Stars21
CategoryDevelopment
Updated5mo ago
Forks2

Languages

JavaScript

Security Score

72/100

Audited on Oct 23, 2025

No findings