Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

s

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

s - npm Package Compare versions

Comparing version 0.1.1 to 1.0.0

dist/cjs/index.js

60

package.json
{
"name": "s"
, "description": "tiny javascript sprintf"
, "tags": ["string", "sprintf"]
, "main": "./s"
, "version": "0.1.1"
, "devDependencies": {
"mocha": "*"
, "expect.js": "*"
}
"name": "s",
"version": "1.0.0",
"author": "sheetjs",
"description": "SheetJS Spreadsheet Helper Library",
"keywords": [
"excel",
"office",
"spreadsheet"
],
"bin": {},
"browser": {
"buffer": false,
"crypto": false,
"stream": false,
"process": false,
"fs": false
},
"main": "./index.js",
"module": "./dist/esm/index.js",
"types": "./dist/typings/index.d.ts",
"dependencies": {},
"devDependencies": {
"@types/mocha": "^5.2.7",
"mocha": "^6.2.0",
"ts-node": "^8.3.0"
},
"repository": {
"type": "git",
"url": "git://github.com/SheetJS/js-xlsx.git"
},
"scripts": {},
"config": {
"blanket": {
"pattern": "xlsx.js"
}
},
"alex": {
"allow": [
"crash",
"wtf",
"holes"
]
},
"homepage": "http://sheetjs.com/opensource",
"bugs": {
"url": "https://github.com/SheetJS/js-xlsx/issues"
},
"license": "Apache-2.0",
"engines": {
"node": ">=0.8"
}
}

19

README.md

@@ -0,15 +1,12 @@

# s
# s.js: minimalistic javascript sprintf().
TypeScript/JavaScript wrapper closely aligned with the OfficeJS Excel API in the
MIT-licensed <https://github.com/OfficeDev/office-js-docs-reference>
```js
// standalone
s('http://%s:%d', 'localhost', 40)
The `1.x.x` releases should not be treated as stable. `0.x.x` releases serve to
preserve the original use of the `S` module.
// extend String.prototype
s.extend();
'http://%s:%d'.s('localhost', 40);
```
## License
- Node/browser compatible. Published as `s` on npm.
- Opt-in String.prototype extension
- Only supports `%s` and `%d`. Escape `%` as `%%`.
Please consult the attached LICENSE file for details. All rights not explicitly
granted by the Apache 2.0 License are reserved by the Original Author.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc