​Reference: JavaScript​
yarn add -g prettyjson
​https://npmcompare.com/compare/jsontool,prettyprint​
yarn | npm |
yarn | npm install |
yarn add | npm -i -S |
​https://yarnpkg.com/​
​http://bookshelfjs.org​
nvm ls nvm use system
node_modules
Environment variables are passed into the scripts
.
This can be tested via:
{scripts: {"env": "env | grep NODE"}}
Run
yarn run envNODE_ENV=production yarn run env
DEBUG=express:* yarn startDEBUG=express-start yarn startDEBUG=knex:* yarn startDEBUG=knex:query yarn startDEBUG=knex:tx yarn start
​https://github.com/node-inspector/node-inspector​
​https://stackoverflow.com/questions/16293923/does-v8-have-unicode-support https://github.com/v8/v8/blob/master/include/v8.h​
​https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings https://nodejs.org/dist/latest-v4.x/docs/api/buffer.html#buffer_buffers_and_character_encodings​
mocha -g 'grep patern for function' file
grunt --tasks .
Use Yarn​
Install eslint​
Install flow​
Install pre-commit hooks
brew install yarnyarn add --dev babel-cli babel-preset-flow eslint flow-bin pre-commityarn run eslint -- --inityarn run flow init
No consistency in one app from another.
Run latest ES code
Transpile it to a version browsers can use
Has to use transpiled server side version
​https://github.com/nodejs/Release​
version | Support |
8.10 | AWS Lamba Support |