Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

overload2

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

overload2 - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

dist/overload2.js

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # overload2

## [0.0.5] - 2017-05
No material changes, but TRAVIS-CI and COVERALLS integrated.
## [0.0.4] - 2017-05

@@ -7,0 +11,0 @@

13

package.json
{
"name": "overload2",
"version": "0.0.4",
"version": "0.0.5",
"description": "Elegant solution for function overloading in JavaScript",
"main": "overload2.js",
"directories": {
"test": "test"
"test": "./node_modules/.bin/mocha"
},
"scripts": {
"prepublish": "mkdir -p dist && cp overload2.js dist && cd dist && uglifyjs --mangle --output overload2.min.js --source-map overload2.map overload2.js",
"test": "mocha"
"prepublishOnly": "mkdir -p dist && cp overload2.js dist && cd dist && uglifyjs --mangle --output overload2.min.js --source-map overload2.map overload2.js",
"test": "./node_modules/.bin/mocha"
},

@@ -28,3 +28,6 @@ "repository": {

},
"homepage": "https://github.com/YounGoat/ecmascript.overload2#readme"
"homepage": "https://github.com/YounGoat/ecmascript.overload2#readme",
"devDependencies": {
"mocha": "^3.3.0"
}
}

@@ -5,9 +5,9 @@ # overload2

![NPM total downloads](https://img.shields.io/npm/dt/overload2.svg)
![NPM version](https://img.shields.io/npm/v/overload2.svg)
![NPM license](https://img.shields.io/npm/l/overload2.svg)
![GitHub stars](https://img.shields.io/github/stars/YounGoat/ecmascript.overload2.svg?style=social&label=Star)
[![Build Status](https://travis-ci.org/YounGoat/ecmascript.overload2.svg?branch=master)](https://travis-ci.org/YounGoat/ecmascript.overload2)
[![Coverage Status](https://coveralls.io/repos/github/YounGoat/ecmascript.overload2/badge.svg?branch=master)](https://coveralls.io/github/YounGoat/ecmascript.overload2?branch=master)
[![NPM total downloads](https://img.shields.io/npm/dt/overload2.svg)](https://www.npmjs.com/package/overload2)
[![NPM version](https://img.shields.io/npm/v/overload2.svg)](https://www.npmjs.com/package/overload2)
[![NPM license](https://img.shields.io/npm/l/overload2.svg)](./LICENSE.txt)
[![GitHub stars](https://img.shields.io/github/stars/YounGoat/ecmascript.overload2.svg?style=social&label=Star)](https://github.com/YounGoat/ecmascript.overload2/stargazers)
[![NPM](https://nodei.co/npm/overload2.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/overload2)
When you are tired with writing tasteless code to do with arguments, *overload2* will __MAKE THINGS EASY__.

@@ -25,2 +25,3 @@

* [Why overload2](#why-overload2)
* [About](#about)
* [References](#references)

@@ -138,3 +139,3 @@

ATTENTION: Datatype aliases are __CaseSensitive__.
ATTENTION: Datatype aliases are __CaseSensitive__ strings.

@@ -279,2 +280,16 @@ | Alias | Corresponding Datetype |

* [Unit Test](./test/)
Another way to understand *overload2* is via reading unit-test code. To run the unit test on the local installed module, please:
```bash
# Change to the installing directory of overload2.
cd node_modules/overload2
# To install devDependencies.
npm intall
# Run test.
npm test
```
* [Overloaded Constructor Function](./example/constructor.js)

@@ -302,2 +317,6 @@ Overloaded function created by *overload2* may also be used as class constructor.

## About
[![NPM](https://nodei.co/npm/overload2.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/overload2)
## References

@@ -304,0 +323,0 @@

@@ -8,3 +8,3 @@ var MODULE_REQUIRE

/* in-package */
, overload2 = require('overload2')
, overload2 = require('../overload2')
;

@@ -11,0 +11,0 @@

@@ -8,3 +8,3 @@ var MODULE_REQUIRE

/* in-package */
, overload2 = require('overload2')
, overload2 = require('../overload2')
;

@@ -11,0 +11,0 @@

Sorry, the diff of this file is not supported yet

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