Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "nbind", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Embind-style bindings generator for Node.js", | ||
@@ -12,2 +12,5 @@ "homepage": "https://github.com/charto/nbind", | ||
"main": "gypiresolver.js", | ||
"scripts": { | ||
"test": "cd test && autogypi && node-gyp configure && node-gyp build && tap test.js" | ||
}, | ||
"repository": { | ||
@@ -17,6 +20,15 @@ "type": "git", | ||
}, | ||
"os" : [ "darwin", "linux" ], | ||
"os": [ | ||
"darwin", | ||
"linux" | ||
], | ||
"dependencies": { | ||
"nan": "^1.7.0" | ||
"nan": "~1.7.0" | ||
}, | ||
"devDependencies": { | ||
"autogypi": "~0.0.3", | ||
"bindings": "~1.2.1", | ||
"node-gyp": "~1.0.3", | ||
"tap": "~0.7.1" | ||
} | ||
} |
nbind | ||
===== | ||
[![build status](http://img.shields.io/travis/charto/nbind.svg)](http://travis-ci.org/charto/nbind) [![npm version](https://img.shields.io/npm/v/nbind.svg)](https://www.npmjs.com/package/nbind) | ||
nbind is a bindings generator for Node.js plugins inspired by [embind](http://kripken.github.io/emscripten-site/docs/porting/connecting_cpp_and_javascript/embind.html) from [emscripten](http://emscripten.org). The bindings are built along with your C++ library without requiring any generated code, using C++11 templates and simple declarations. | ||
@@ -8,3 +10,3 @@ | ||
#include "Binding.h" | ||
#include "nbind/Binding.h" | ||
@@ -25,3 +27,3 @@ using namespace nbind; | ||
var Point=require('./build/Release/example.node').Point; | ||
var Point=require('bindings')('example').Point; | ||
@@ -43,3 +45,3 @@ var a=new Point(1,2); | ||
[The MIT License](https://raw.githubusercontent.com/jjrv/nbind/master/LICENSE) | ||
[The MIT License](https://raw.githubusercontent.com/charto/nbind/master/LICENSE) | ||
Copyright (c) 2014-2015 BusFaster Ltd |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code which could be a vector to obscure malicious code, and generally decrease the likelihood of reproducible or reliable installs.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45633
26
38
45
4
1
+ Addednan@1.7.0(transitive)
- Removednan@1.9.0(transitive)
Updatednan@~1.7.0