Package Exports
- common-callback-names
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (common-callback-names) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
common-callback-names

List of common callback names - callback, cb, callback_, next, done.
Install
npm i common-callback-names --save
Usage
For more use-cases see the tests
var commonCallbackNames = require('common-callback-names')
console.log(commonCallbackNames)
// =>
// [
// "callback",
// "callback_",
// "cb",
// "cb_",
// "done",
// "next"
// ]
List
Some of them are used in node core.
list.json
[
"callback",
"callback_",
"cb",
"cb_",
"done",
"next"
]
Related
- function-arguments: Get arguments of a function, useful for and used in dependency injectors.… more | homepage
- get-fn-name: Get function name with strictness and correctness in mind. Also works for… more | homepage
- is-async-function: Is function really asynchronous (callback) function? Trying to guess that based on… more | homepage
- parse-function: Parse a function, arrow function or string to object with name, args,… more | homepage
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
But before doing anything, please read the CONTRIBUTING.md guidelines.