nodent-rq
v2.5.1
Published
NoDent - Asynchronous Javascript language extensions
Downloads
12
Maintainers
Readme
Seamless NoDent
For the official repository please see MaxAtBread's amazing original library at https://github.com/MatAtBread/nodent
This repository slightly differs from the original. By using this version of NoDent you don't have to add 'use nodent' to your files to get async function support.
You add the following to your package.json file.
"nodent": {
"noUseDirective": true,
"ignoreNodeModules": true
},
Then run your app with the NoDent require-hook.
node --require nodent/require-hook my-app.js
NoDent
NoDent is a small module for Nodejs that implements the JavaScript ES7 keywoards async
and await
. These make writing, reading and understanding asynchronous and callback methods more implicit and embedded in the language. It works by (optionally) transforming JavaScript when it is loaded into Node.