A specialized set of functions utilities that are highly reusable without creating any dependencies : arrays, strings, chars, objects, numbers, maths, date, colors, etc.
Homepage Repository npm JavaScript Download
npm install vegas-js-system-core@1.0.7
Vegas JS SYSTEM/CORE - version 1.0.4 is an Opensource Library based on ECMAScript for develop crossplatform Rich Internet Applications and Games.
Under tree opensource licenses :
Download on Bitbucket the latest code, report an issue, ask a question or contribute :
Get started with the the Vegas JS API :
Send us your email to join the VEGAS community on Slack !
You can install VEGAS JS with NPM or Yarn.
$ yarn add vegas-js-system-core --dev
or
$ npm install vegas-js-system-core --save-dev
VEGAS JS SYSTEM DATA library use Yarn with a serie of powerful packages (Babel, Mocha, etc.) to compile and build this library.
1 - The first time, initialize the project and run yarn :
$ yarn
2 - Test + compile all the libraries :
$ yarn build
1 - Build the ./dist/vegas-core.js : not minified + no comments + sourcemap.
$ yarn dev
2 - Build the ./dist/vegas-core.js and watch the changing into the ./src folder.
$ yarn watch
3 - Build the ./dist/vegas-core.min.js : minified + no comments.
$ yarn prod
4 - Build the ./dist/vegas-core.min.js and the ./dist/vegas-core.js libraries only.
$ yarn start
To launch the HTML examples, use the command :
$ yarn example ./examples/...
This command launch with the BrowserSync tool the html page of the example in your browser.
We use the Mocha and the Chai (http://chaijs.com/) tools to run the unit tests of the VEGAS JS libraries.
1 - Run all unit tests
$ yarn test
2 - Run a specific library, use one of this command :
The --match option trigger the unit test engine (based on Mocha) to only run tests matching the given pattern which is internally compiled to a RegExp, for examples :
$ yarn test -g package.filename
$ yarn test --reporter nyan
The documentation of the framework is based on JSDoc.
Run the documentation build with gulp :
$ yarn doc
The documentation is generated in the folder : ./docs/bin