Comparing version 0.3.3 to 0.4.0
{ | ||
"name": "value", | ||
"description": "Convenient type-checking in JavaScript", | ||
"version": "0.3.3", | ||
"version": "0.4.0", | ||
"homepage": "http://github.com/peerigon/value", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/peerigon/value.git", |
@@ -0,1 +1,5 @@ | ||
> **⚠️ DEPRECATED ⚠️** | ||
> | ||
> This module has been deprecated. You should lock your version to `0.3.3`. It will be replaced by a different module. | ||
value | ||
@@ -5,3 +9,3 @@ ===== | ||
value is designed to ease [type-checking in JavaScript](http://bonsaiden.github.com/JavaScript-Garden/#types.typeof) while keeping performance in mind. It comes with a [fluent api](http://martinfowler.com/bliki/FluentInterface.html) to improve the readability of your code. Use value to sanitize function parameters and to provide better error messages if some type is unexpected. | ||
value is designed to ease [type-checking in JavaScript](http://bonsaiden.github.com/JavaScript-Garden/#types.typeof) while keeping performance in mind. It comes with a [fluent api](http://martinfowler.com/bliki/FluentInterface.html) to improve the readability of your code. Use value to sanitize function parameters and to provide better error messages if some type is unexpected. | ||
@@ -17,4 +21,6 @@ [![Build Status](https://secure.travis-ci.org/jhnns/value.png?branch=master)](http://travis-ci.org/jhnns/value) | ||
`npm install value` | ||
`npm install value@0.3.3` | ||
**It's important to use this version number because newer versions will be an entire | ||
If you're not using a CommonJS-system in the browser value is namespaced under `window.jhnns.value`. | ||
@@ -128,4 +134,4 @@ | ||
```javascript | ||
value(new String()).typeOf(String); // = true | ||
value(new String()).typeOf(Object); // = false | ||
value(new String()).typeOf(String); // = true | ||
value(new String()).typeOf(Object); // = false | ||
``` | ||
@@ -169,2 +175,2 @@ | ||
### MIT | ||
### MIT |
Sorry, the diff of this file is not supported yet
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
173
15203
8
245
1