https://github.com/michareiser/eschecker
Type Checker for ECMAScript
https://github.com/michareiser/eschecker
Last synced: 10 months ago
JSON representation
Type Checker for ECMAScript
- Host: GitHub
- URL: https://github.com/michareiser/eschecker
- Owner: MichaReiser
- Created: 2016-03-06T12:35:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-07T12:43:35.000Z (over 9 years ago)
- Last Synced: 2025-07-25T23:43:54.114Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 4.16 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://coveralls.io/github/MichaReiser/ESChecker?branch=master)
[](https://www.bithound.io/github/MichaReiser/ESChecker)
[](https://travis-ci.org/MichaReiser/ESChecker)
# ESChecker
## Development
The eschecker uses ES6 and needs to be transpiled to ES5 to be runnable on node. The ES6 source code is located in lib folder and can be transpiled using the `npm run build` script or `npm start` to run a watch task that transpiles the files whenever something has changed. The tests use `babel/register` to transpile the code during the execution. The tests can be executed using`npm test`. The code coverage can be calculated using the `npm run coverage` script, which uses `babel-node` and `isparta` to create the coverage over the ES6 source code and not against the ES5-code.
## Usage
Install ESChecker globally using npm
```
npm install -g eschecker
```
To type check a file use the command line tool and pass the path to the file as argument
```
eschecker -f ./path/to/file.js
```