CyrusOfEden / CSV.js

A simple, blazing-fast CSV parser and encoder. Full RFC 4180 compliance.
MIT License
1.54k stars 95 forks source link

Added script aliases for test.js and benchmark.js #11

Closed evanplaice closed 10 years ago

evanplaice commented 10 years ago

With the script alias...

The test runner can be run by simply calling

npm test

and the benchmark script can be called with

npm run-script benchmark

In the future, the tests can be broken into multiple files and run with 'npm run-script [test_name]' and the 'npm test' alias can be modified to run a full suite of tests at once as demonstrated here.