forked from EitanGayor/monorepo_demo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
52 lines (52 loc) · 1.94 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"name": "typeof",
"version": "1.0.0",
"description": "Node module. typeOf('a string') == 'string', typeOf([]) == 'array', etc.. Also supports named functions detections aka javascript classes",
"main": "index.js",
"scripts": {
"test": "mocha -R spec --compilers coffee:coffee-script test.coffee"
},
"repository": {
"type": "git",
"url": "http://github.com/CodingFu/typeof"
},
"keywords": [
"typeof",
"type"
],
"author": {
"name": "Seva Rybakov"
},
"license": "MIT",
"dependencies": {},
"devDependencies": {
"coffee-script": "~1.4.0",
"mocha": "~1.6.0",
"assert": "~0.4.9"
},
"readme": "# typeof\n\nSmall node.js module that dramatically extends functionality of native typeof\n\nInspired by Batman.js typeOf util\n\n**UPD:** now it returns lowercased name of any javascript class. Thanks to @BallBearing for idea\n\n## Usage:\n\n```bash\n$ npm install typeof\n```\n\n```javascript\nvar typeOf = require('typeof');\n\nconsole.log(typeOf(\"a string\"));\n// -> \"string\"\n\nconsole.log(typeOf([1, 2, 3, \"array\"]));\n// -> \"array\"\n\nconsole.log(typeOf(null));\n// -> \"null\"\n\nconsole.log(typeOf(new Buffer(0)));\n// -> \"buffer\"\n\nfunction MyClass() {\n this.is = \"class constructor\" \n}\nconsole.log(typeOf(new MyClass));\n// ->\"myclass\"\n```\n",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/CodingFu/typeof/issues"
},
"_id": "typeof@1.0.0",
"dist": {
"shasum": "9c84403f2323ae5399167275497638ea1d2f2440",
"tarball": "http://registry.npmjs.org/typeof/-/typeof-1.0.0.tgz"
},
"_from": "typeof@*",
"_npmVersion": "1.3.11",
"_npmUser": {
"name": "codingfu",
"email": "coding.fu@gmail.com"
},
"maintainers": [
{
"name": "codingfu",
"email": "coding.fu@gmail.com"
}
],
"directories": {},
"_shasum": "9c84403f2323ae5399167275497638ea1d2f2440",
"_resolved": "https://registry.npmjs.org/typeof/-/typeof-1.0.0.tgz"
}