Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/component/format-parser
Declarative template engine format string parser ("created_at | date:'%Y/%M/%d'" etc)
https://github.com/component/format-parser
Last synced: 13 days ago
JSON representation
Declarative template engine format string parser ("created_at | date:'%Y/%M/%d'" etc)
- Host: GitHub
- URL: https://github.com/component/format-parser
- Owner: component
- Created: 2012-12-12T23:55:56.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-09T23:42:01.000Z (about 11 years ago)
- Last Synced: 2024-05-08T17:11:53.054Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 112 KB
- Stars: 9
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
Awesome Lists containing this project
README
# format-parser
Declarative format parser for declarative template engines
## Installation
$ component install component/format-parser
## Example
```js
var parse = require('format-parser');
parse('created_at | date:"%Y %M %d"');
```## License
MIT