mirror of
https://github.com/samsonjs/strftime.git
synced 2026-03-31 10:05:46 +00:00
add install instructions for bower and component
This commit is contained in:
parent
e6b696cabd
commit
543e81ca83
1 changed files with 12 additions and 3 deletions
15
Readme.md
15
Readme.md
|
|
@ -1,16 +1,25 @@
|
|||
strftime
|
||||
========
|
||||
|
||||
strftime for JavaScript, works in Node.js and browsers, supports localization.
|
||||
Most standard specifiers from C are supported as well as some other extensions
|
||||
from Ruby.
|
||||
strftime for JavaScript. Works in (at least) node.js and browsers. Supports localization and timezones. Most standard specifiers from C are supported as well as some other extensions from Ruby.
|
||||
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
[node](https://nodejs.org):
|
||||
|
||||
npm install strftime
|
||||
|
||||
[bower](http://bower.io):
|
||||
|
||||
bower install strftime
|
||||
|
||||
[component](https://github.com/componentjs/component):
|
||||
|
||||
component install samsonjs/strftime
|
||||
|
||||
Or you can copy [strftime.js](https://github.com/samsonjs/strftime/blob/master/strftime.js) wherever you want to use it, whether that's with a <script> tag or `require` or anything else.
|
||||
|
||||
The New API in 0.9
|
||||
==================
|
||||
|
|
|
|||
Loading…
Reference in a new issue