Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 796 Bytes

Addon.md

File metadata and controls

13 lines (7 loc) · 796 Bytes

Addon Checker

This checker is used to assess various practices around native addon packages.

addon_depends_on_nan_and_bindings [2.0 or 4.0]

The core node.js team have declared that using the "nan" and "bindings" package are the suggested way to handle developing and runtime use of native addons. Currently there may be addons that may need to use a mechanism other than "bindings" for loading the addon object, so you can score either half or full points for this check.

addon_depends_on_nodegyp_devdependency [3.0]

Many addon packages don't declare "node-gyp" as an item under the devDependencies field. Since this may cause confusion to users, especially in terms of which version of node-gyp the author requires, this should be defined in the package.json.