forked from sorccu/node-prebuilt-bindings
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
491 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.DS_Store | ||
/*.tgz | ||
/build/ | ||
/node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Copyright © 2016 Simo Kinnunen | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# node-prebuilt-bindings | ||
|
||
[](https://www.npmjs.com/package/prebuilt-bindings) | ||
|
||
**node-prebuilt-bindings** is an alternative to [node-pre-gyp](https://github.com/mapbox/node-pre-gyp). It allows your users to automatically fetch prebuilt native modules from a location you provide (e.g. GitHub Releases), avoiding messy compilation issues. | ||
|
||
## Benefits/philosophy | ||
|
||
* Leave legacy cruft behind. Only support most recent Node in [*active* Long-term Support](https://github.com/nodejs/LTS#lts-schedule) (currently v4) and newer. | ||
- Take advantage of [ES2015 and later features](http://node.green/) (but don't require `--harmony` flag). | ||
* Configuration is code with sensible defaults. | ||
- Defaults to using [GitHub Releases](https://help.github.com/articles/about-releases/). | ||
- Easily implement features such as only building on specific platforms. | ||
* Allows you to run `node-gyp` directly if you wish. | ||
* Supports multiple bindings per module. | ||
* Minimal bloat-free implementation. | ||
* Dependency free! | ||
|
||
## Installation | ||
|
||
Using [yarn](https://yarnpkg.com/): | ||
|
||
```sh | ||
yarn add prebuilt-bindings | ||
``` | ||
|
||
Using [npm](https://www.npmjs.com/): | ||
|
||
```sh | ||
npm install --save prebuilt-bindings | ||
``` | ||
|
||
## Usage | ||
|
||
## License | ||
|
||
See [LICENSE](LICENSE). |
Oops, something went wrong.