Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Lazycplusplus integration for native nodejs addons.
npm install --save lzz-gyp
In your package.json
file, use a custom install
script similar to this:
var lzz = require('lzz-gyp');
lzz(['-d', '-hl', '-sl', '-e', './src/myproject.lzz'], __dirname).catch(function (err) {
console.error(err);
process.exit(1);
});
Builds the lzz source code by passing args
to lazycplusplus
and returns a promise. The working directory of both lazycplusplus
and node-gyp
are set to moduleDir
(this should generally be your module's root directory).
By default, the node-gyp --debug
flag is set based on process.env.NODE_ENV !== 'production
, but you can override this by passing a boolean to the debug
argument.
The files included in /lzz-source
and /lzz-compiled
are part of the lazycplusplus project, by Mike Spencer, under the GNU GPL Version 3 license.
All other files are part of the lzz-gyp project, by Joshua Wise, also under the GNU GPL Version 3 license.
Using this package as an dependency in your nodejs project does not obligate you to license that project under a GPL-compatible license because your project would be considered "output" of lzz-gyp and not necessarily a "covered work".
FAQs
Lazycplusplus integration for native nodejs addons.
We found that lzz-gyp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.