Skip to content

Commit

Permalink
v2.0.4. Bugfix. Improvement.
Browse files Browse the repository at this point in the history
- v2.0.4 September 28, 2013
	- Fixed cyclic dependency problem on windows (since v2.0.3)
	- Added bower support
  • Loading branch information
balupton committed Sep 18, 2013
1 parent d856e6e commit 59001a5
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 46 deletions.
1 change: 1 addition & 0 deletions .npmignore
Expand Up @@ -11,4 +11,5 @@ build/
components/
template.js
component.json
bower.json
index.js
8 changes: 6 additions & 2 deletions History.md
@@ -1,10 +1,14 @@
## History

- v2.0.4 September 28, 2013
- Fixed cyclic dependency problem on windows (since v2.0.3)
- Added bower support

- v2.0.3 September 28, 2013
- Attempt at fixing circular dependency infinite loop introduced in v2.0.2
- Attempt at fixing circular dependency infinite loop (since v2.0.2)

- v2.0.2 September 28, 2013
- Republished for component.io compatibility
- Added component.io support

- v2.0.1 March 27, 2013
- Fixed some package.json properties
Expand Down
28 changes: 17 additions & 11 deletions README.md
@@ -1,24 +1,31 @@
# TypeChecker

[![Build Status](https://secure.travis-ci.org/bevry/typechecker.png?branch=master)](http://travis-ci.org/bevry/typechecker)
[![NPM version](https://badge.fury.io/js/typechecker.png)](https://npmjs.org/package/typechecker)
[![Flattr this project](https://raw.github.com/balupton/flattr-buttons/master/badge-89x18.gif)](http://flattr.com/thing/344188/balupton-on-Flattr)
[![Build Status](https://secure.travis-ci.org/bevry/typechecker.png?branch=master)](http://travis-ci.org/bevry/typechecker "Check this project's build status on TravisCI")
[![NPM version](https://badge.fury.io/js/typechecker.png)](https://npmjs.org/package/typechecker "View this project on NPM")
[![Gittip donate button](http://badgr.co/gittip/bevry.png)](https://www.gittip.com/bevry/ "Donate weekly to this project using Gittip")
[![Flattr donate button](https://raw.github.com/balupton/flattr-buttons/master/badge-89x18.gif)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr")
[![PayPayl donate button](https://www.paypalobjects.com/en_AU/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal")

Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)



## Install

### Backend

1. [Install Node.js](http://bevry.me/node/install)
2. `npm install --save typechecker`
### [Node](http://nodejs.org/), [Browserify](http://browserify.org/)
- Use: `require('typechecker')`
- Install: 'npm install --save typechecker'

### Frontend
### [Ender](http://ender.jit.su/)
- Use: `require('typechecker')`
- Install: `ender add typechecker`

1. [See Browserify](http://browserify.org/)
## [Component](http://github.com/component/component)
- Use: `require('typechecker')`
- Install: `component install bevry/typechecker`

## [Bower](http://bower.io/)
- Use: `require('typechecker')`
- Install: `bower install typechecker`


## Usage
Expand Down Expand Up @@ -61,7 +68,6 @@ Plus things like `isEmptyObject` and `isPlainObject` are darn useful!
You can discover the history inside the [History.md](https://github.com/bevry/typechecker/blob/master/History.md#files) file



## License
Licensed under the incredibly [permissive](http://en.wikipedia.org/wiki/Permissive_free_software_licence) [MIT License](http://creativecommons.org/licenses/MIT/)
<br/>Copyright © 2013+ [Bevry Pty Ltd](http://bevry.me)
Expand Down
38 changes: 38 additions & 0 deletions bower.json
@@ -0,0 +1,38 @@
{
"name": "typechecker",
"main": "index.js",
"version": "2.0.4",
"homepage": "https://github.com/bevry/typechecker",
"authors": [
"Benjamin Lupton <b@lupton.cc>"
],
"description": "Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)",
"keywords": [
"types",
"type",
"check",
"gettype",
"isstring",
"isregexp",
"isregex",
"isplainobject",
"isobject",
"iserror",
"isnumber",
"isdate",
"isarguments",
"isarray",
"isnull",
"isempty",
"isundefined",
"isemptyobject"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
2 changes: 1 addition & 1 deletion component.json
Expand Up @@ -2,7 +2,7 @@
"name": "typechecker",
"repo": "bevry/typechecker",
"description": "Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)",
"version": "2.0.3",
"version": "2.0.4",
"keywords": [
"types",
"type",
Expand Down
Empty file added cyclic.js
Empty file.
1 change: 0 additions & 1 deletion index.js
@@ -1,2 +1 @@
// For Component.io
require('./out/lib/typechecker.js');
27 changes: 0 additions & 27 deletions out/test/typechecker-test.js

This file was deleted.

8 changes: 4 additions & 4 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "typechecker",
"version": "2.0.3",
"version": "2.0.4",
"description": "Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)",
"homepage": "https://github.com/bevry/typechecker",
"keywords": [
Expand Down Expand Up @@ -50,8 +50,8 @@
"lib": "./out/lib"
},
"scripts": {
"preinstall": "node -e \"if(require('fs').existsSync('./.git')){ require('child_process').spawn('npm', ['install','--force',require('./package.json').name], {env:process.env,cwd:process.cwd(),stdio:'inherit'}); }\"",
"preinstall": "node ./cyclic.js",
"test": "node ./out/test/everything-test.js"
},
"main": "./out/lib/typechecker.js"
}
"main": "./index.js"
}

0 comments on commit 59001a5

Please sign in to comment.