mirror of
https://github.com/samsonjs/format.git
synced 2026-04-25 14:37:41 +00:00
update readme, minor cleanup, bump version
This commit is contained in:
parent
4757efb70e
commit
49548ba0ef
3 changed files with 15 additions and 13 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
format
|
format
|
||||||
======
|
======
|
||||||
|
|
||||||
printf and sprintf for JavaScript
|
printf, sprintf, and vsprintf for JavaScript
|
||||||
|
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
|
|
@ -9,6 +9,8 @@ Installation
|
||||||
|
|
||||||
npm install format
|
npm install format
|
||||||
|
|
||||||
|
The code works in browsers as well, you can copy these functions into your project
|
||||||
|
or otherwise include them with your other JavaScript.
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
=====
|
=====
|
||||||
|
|
@ -32,6 +34,6 @@ See `man 3 printf` or `man 1 printf` for details.
|
||||||
License
|
License
|
||||||
=======
|
=======
|
||||||
|
|
||||||
Copyright 2010 Sami Samhuri sami.samhuri@gmail.com
|
Copyright 2010 - 2011 Sami Samhuri sami@samhuri.net
|
||||||
|
|
||||||
MIT (see included [LICENSE](/samsonjs/format/blob/master/LICENSE))
|
ISC (see included [LICENSE](/samsonjs/format/blob/master/LICENSE))
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// format, printf-like string formatting for JavaScript
|
// format, printf-like string formatting for JavaScript
|
||||||
// github.com/samsonjs/format
|
// github.com/samsonjs/format
|
||||||
//
|
//
|
||||||
// Copyright 2010 Sami Samhuri <sami.samhuri@gmail.com>
|
// Copyright 2010 - 2011 Sami Samhuri <sami@samhuri.net>
|
||||||
// ISC license
|
// ISC license
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
|
||||||
18
package.json
18
package.json
|
|
@ -1,22 +1,22 @@
|
||||||
{ "name" : "format"
|
{ "name" : "format"
|
||||||
, "description" : "printf and sprintf for JavaScript"
|
, "description" : "printf, sprintf, and vsprintf for JavaScript"
|
||||||
, "version" : "0.1.0"
|
, "version" : "0.1.1"
|
||||||
, "homepage" : "http://samhuri.net/node/format"
|
, "homepage" : "http://samhuri.net/proj/format"
|
||||||
, "author" : "Sami Samhuri <sami.samhuri@gmail.com>"
|
, "author" : "Sami Samhuri <sami@samhuri.net>"
|
||||||
, "repository" :
|
, "repository" :
|
||||||
{ "type" : "git"
|
{ "type" : "git"
|
||||||
, "url" : "http://github.com/samsonjs/format.git"
|
, "url" : "https://github.com/samsonjs/format.git"
|
||||||
}
|
}
|
||||||
, "bugs" :
|
, "bugs" :
|
||||||
{ "mail" : "sami.samhuri+format@gmail.com"
|
{ "mail" : "sami@samhuri.net"
|
||||||
, "web" : "http://github.com/samsonjs/format/issues"
|
, "web" : "https://github.com/samsonjs/format/issues"
|
||||||
}
|
}
|
||||||
, "directories" : { "lib" : "./lib" }
|
, "directories" : { "lib" : "./lib" }
|
||||||
, "main" : "./lib/index"
|
, "main" : "./lib/index"
|
||||||
, "engines" : { "node" : ">=0.3.0" }
|
, "engines" : { "node" : "0.4.x" }
|
||||||
, "licenses" :
|
, "licenses" :
|
||||||
[ { "type" : "MIT"
|
[ { "type" : "MIT"
|
||||||
, "url" : "http://github.com/samsonjs/format/raw/master/LICENSE"
|
, "url" : "http://github.com/samsonjs/format/raw/master/LICENSE"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue