Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "is-ipfs", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A set of utilities to help identify IPFS resources", | ||
@@ -8,8 +8,10 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"test:node": "dignified-test node", | ||
"test:browser": "dignified-test browser", | ||
"test": "dignified-test", | ||
"lint": "dignified-lint", | ||
"release": "dignified-release", | ||
"build": "dignified-build" | ||
"test:node": "aegir-test node", | ||
"test:browser": "aegir-test browser", | ||
"test": "aegir-test", | ||
"lint": "aegir-lint", | ||
"release": "aegir-release", | ||
"build": "aegir-build", | ||
"coverage": "aegir-coverage", | ||
"coverage-publish": "aegir-coverage publish" | ||
}, | ||
@@ -30,4 +32,4 @@ "pre-commit": [ | ||
"devDependencies": { | ||
"aegir": "^8.1.2", | ||
"chai": "^3.5.0", | ||
"dignified.js": "github:dignifiedquire/dignified.js", | ||
"pre-commit": "^1.1.2" | ||
@@ -42,3 +44,8 @@ }, | ||
}, | ||
"homepage": "https://github.com/xicombd/is-ipfs" | ||
} | ||
"homepage": "https://github.com/xicombd/is-ipfs", | ||
"contributors": [ | ||
"Francisco Baio Dias <xicombd@gmail.com>", | ||
"Marcin Rataj <lidel@lidel.org>", | ||
"nginnever <ginneversource@gmail.com>" | ||
] | ||
} |
@@ -11,6 +11,28 @@ is-ipfs | ||
## Install | ||
### In Node.js through npm | ||
```bash | ||
$ npm install --save is-ipfs | ||
``` | ||
npm i --save is-ipfs | ||
### Browser: Browserify, Webpack, other bundlers | ||
The code published to npm that gets loaded on require is in fact an ES5 transpiled version with the right shims added. This means that you can require it and use with your favorite bundler without having to adjust asset management process. | ||
```js | ||
var is-ipfs = require('is-ipfs') | ||
``` | ||
### In the Browser through `<script>` tag | ||
Loading this module through a script tag will make the ```IsIpfs``` obj available in the global namespace. | ||
``` | ||
<script src="https://unpkg.com/is-ipfs/dist/index.min.js"></script> | ||
<!-- OR --> | ||
<script src="https://unpkg.com/is-ipfs/dist/index.js"></script> | ||
``` | ||
## Usage | ||
@@ -17,0 +39,0 @@ ```javascript |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
993447
21
10641
113
0