Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Make Node Module is a build tool for making native node.js modules.
$ npm install mnm
var builder = new Builder();
builder.appendUnique('CXXFLAGS', ['-fno-builtin']);
builder.appendIncludeDir('src/');
builder.appendSourceDir('./src');
builder.target = "mynativemodule_bindings";
builder.run();
Prints the command lines being executed along with other verbose output.
### -Wall or --showWarningsAdds the -Wall flag to the compile and prints all compiler warnings.
## builder ### builder.appendLinkerLibrary(libname)Adds a library to the linker.
Arguments
Example
builder.appendLinkerLibrary('ssl');
### builder.appendLinkerSearchDir(dir)
Adds a library to the linker search path.
Arguments
Example
builder.appendLinkerSearchDir('/usr/local/lib');
### builder.appendIncludeDir(dir)
Adds a path to the list of include search directories.
Arguments
Example
builder.builder_appendIncludeDir('/src');
### builder.appendUnique(flagGroup, flags)
Adds a flag or flags to a flag group.
Arguments
Example
builder.appendUnique('CXXFLAGS', '-Wall');
builder.appendUnique('CXXFLAGS', ['-Idir1', '-Idir2']);
### builder.appendSourceDir(dir)
Adds a source code directory to the list of compilable items. All files with the extensions cpp, c, cxx will be added to the compile step.
Arguments
Example
builder.appendSourceDir('./src');
### builder.appendSource(fileName)
Adds a single source file to the list of compilable items.
Arguments
Example
builder.appendSource('./src/myModule.cpp');
### builder.compile([callback])
Performs the compile.
Arguments
Example
builder.compile();
### builder.link([callback])
Performs the link.
Arguments
Example
builder.link();
### builder.compileAndLink([callback])
Performs the compile and link.
Arguments
Example
builder.compileAndLink();
### builder.run([options], [callback])
Run the builder. If no options are specified will use command line arguments to determine what to do.
Arguments
Example
builder.compileAndLink();
(The MIT License)
Copyright (c) 2012 Near Infinity Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
Make Node Module is a build tool for making native node.js modules.
The npm package mnm receives a total of 1 weekly downloads. As such, mnm popularity was classified as not popular.
We found that mnm 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.