Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tonyfast/djatashape
https://github.com/tonyfast/djatashape
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tonyfast/djatashape
- Owner: tonyfast
- Created: 2016-01-18T14:45:00.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-11T20:20:26.000Z (almost 9 years ago)
- Last Synced: 2025-01-10T15:23:20.959Z (about 1 month ago)
- Language: CoffeeScript
- Size: 761 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DjataShape [](https://travis-ci.org/tonyfast/djatashape)
DjataShape is a grammar for Array data in Javascript
## Getting Started
```coffee
parser = new DjataShape
console.log parser.parse '1*string'
```## Developing
Get npm.```bash
npm install
npm run testem
```
to start the test server.### `npm run` _`x`_
| _x_ | does | testem? |
|---------------|-------------------------------------------------------------|---------|
| `build` | generate UMD'd JS from CoffeeScript in `src/` | x |
| `build-deps` | generate JS dependencies for tests | x |
| `build-test` | generate JS tests from Literate CoffeeScript in `src/test/` | x |
| `coverage` | report coverage from previous `test` | x |
| `docs` | generate API docs | x |
| `lint` | check for well-formedness of CoffeeScript | |
| `test-js` | run JS tests in node | |
| `test` | runs the tests in node directly against CoffeeScript | x |
| `testem` | continuously build and run tests, serving to browsers | |`lint` is not currently run, but might be added at some time, once a code
style standard is adopted.### `testem` Test Server
The [testem](https://github.com/testem/testem) test server runs basically all
of the code tasks (short of releasing!) on every file change. Here are some
routes with interesting stuff:
- [/](http://localhost:7357) the test results
- [/doc/index.html](http://localhost:7357/doc/index.html) the API doc
- [/coverage/lcov-report/index.html](http://localhost:7357/coverage/lcov-report/index.html) test coverageIt is configured with `./testem.yml`!
## Resources