UNPKG

canonical

Version:

Canonical code style linter and formatter for JavaScript, SCSS and CSS.

69 lines (68 loc) 2.58 kB
{ "_args": [ [ "is-property@https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", "/Users/gajus/Documents/dev/canonical-code-style/canonical" ] ], "_from": "is-property@>=1.0.0 <2.0.0", "_id": "is-property@1.0.2", "_inCache": true, "_location": "/is-property", "_phantomChildren": {}, "_requested": { "name": "is-property", "raw": "is-property@https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", "rawSpec": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", "scope": null, "spec": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", "type": "remote" }, "_requiredBy": [ "/generate-object-property" ], "_resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", "_shasum": "57fe1c4e48474edd65b09911f26b1cd4095dda84", "_shrinkwrap": null, "_spec": "is-property@https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", "_where": "/Users/gajus/Documents/dev/canonical-code-style/canonical", "author": { "name": "Mikola Lysenko" }, "bugs": { "url": "https://github.com/mikolalysenko/is-property/issues" }, "dependencies": {}, "description": "Tests if a JSON property can be accessed using . syntax", "devDependencies": { "tape": "~1.0.4" }, "directories": { "test": "test" }, "gitHead": "0a85ea5b6b1264ea1cdecc6e5cf186adbb3ffc50", "homepage": "https://github.com/mikolalysenko/is-property#readme", "keywords": [ ".", "[]", "bracket", "dot", "is", "json", "property" ], "license": "MIT", "main": "is-property.js", "name": "is-property", "optionalDependencies": {}, "readme": "is-property\n===========\nTests if a property of a JavaScript object can be accessed using the dot (.) notation or if it must be enclosed in brackets, (ie use x[\" ... \"])\n\nExample\n-------\n\n```javascript\nvar isProperty = require(\"is-property\")\n\nconsole.log(isProperty(\"foo\")) //Prints true\nconsole.log(isProperty(\"0\")) //Prints false\n```\n\nInstall\n-------\n\n npm install is-property\n \n### `require(\"is-property\")(str)`\nChecks if str is a property\n\n* `str` is a string which we will test if it is a property or not\n\n**Returns** true or false depending if str is a property\n\n## Credits\n(c) 2013 Mikola Lysenko. MIT License", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/mikolalysenko/is-property.git" }, "scripts": { "test": "tap test/*.js" }, "version": "1.0.2" }