Socket
Socket
Sign inDemoInstall

is-ipfs

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-ipfs - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

coverage/coverage.json

27

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc