https://github.com/jstransformers/jstransformer-cson
CSON support for JS Transformers.
https://github.com/jstransformers/jstransformer-cson
Last synced: over 1 year ago
JSON representation
CSON support for JS Transformers.
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-cson
- Owner: jstransformers
- License: mit
- Created: 2014-11-18T14:58:49.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T03:53:19.000Z (about 6 years ago)
- Last Synced: 2025-02-23T06:41:55.504Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://npmjs.com/jstransformer-cson
- Size: 54.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-cson
[CSON](https://github.com/bevry/cson) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-cson)
[](https://codecov.io/gh/jstransformers/jstransformer-cson)
[](http://david-dm.org/jstransformers/jstransformer-cson)
[](https://www.npmjs.org/package/jstransformer-cson)
## Installation
npm install jstransformer-cson
## API
```js
var cson = require('jstransformer')(require('jstransformer-cson'))
cson.render("name: 'someone'").body
//=> '{"name": "someone"}'
```
## License
MIT