Socket
Socket
Sign inDemoInstall

err-code

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2 to 1.0.0

10

package.json
{
"name": "err-code",
"version": "0.1.2",
"version": "1.0.0",
"description": "Create an error with a code",

@@ -10,7 +10,7 @@ "main": "index.js",

"bugs": {
"url": "https://github.com/IndigoUnited/err-code/issues/"
"url": "https://github.com/IndigoUnited/js-err-code/issues/"
},
"repository": {
"type": "git",
"url": "git://github.com/IndigoUnited/err-code.git"
"url": "git://github.com/IndigoUnited/js-err-code.git"
},

@@ -27,5 +27,5 @@ "keywords": [

"devDependencies": {
"mocha": "~1.8.1",
"expect.js": "~0.2.0"
"mocha": "^2.3.4",
"expect.js": "^0.3.1"
}
}

@@ -1,10 +0,22 @@

# err-code [![Build Status](https://travis-ci.org/IndigoUnited/node-err-code.svg?branch=master)](https://travis-ci.org/IndigoUnited/node-err-code)
# err-code
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency status][david-dm-image]][david-dm-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url]
Create new error instances with a code.
[npm-url]:https://npmjs.org/package/err-code
[downloads-image]:http://img.shields.io/npm/dm/err-code.svg
[npm-image]:http://img.shields.io/npm/v/err-code.svg
[travis-url]:https://travis-ci.org/IndigoUnited/js-err-code
[travis-image]:http://img.shields.io/travis/IndigoUnited/js-err-code.svg
[david-dm-url]:https://david-dm.org/IndigoUnited/js-err-code
[david-dm-image]:https://img.shields.io/david/IndigoUnited/js-err-code.svg
[david-dm-dev-url]:https://david-dm.org/IndigoUnited/js-err-code#info=devDependencies
[david-dm-dev-image]:https://img.shields.io/david/dev/IndigoUnited/js-err-code.svg
Create new error instances with a code and additional properties.
## Installation
`$ npm install err-code`
`$ npm install err-code` - `NPM`
`$ bower install err-code` - `bower`

@@ -22,2 +34,3 @@

## Usage

@@ -24,0 +37,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc