{"_id":"validate.io-string-primitive","_rev":"4087258","name":"validate.io-string-primitive","description":"Validates if a value is a string primitive.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"npm:kgryte","email":""}],"time":{"modified":"2025-12-02T22:11:51.000Z","created":"2015-03-06T08:01:58.808Z","1.0.1":"2016-07-27T12:06:13.542Z","1.0.0":"2015-03-06T08:02:20.870Z","0.0.0":"2015-03-06T08:01:58.808Z"},"users":{},"author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"repository":{"type":"git","url":"git://github.com/validate-io/string-primitive.git"},"versions":{"1.0.1":{"name":"validate.io-string-primitive","version":"1.0.1","description":"Validates if a value is a string primitive.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/string-primitive.git"},"keywords":["validate.io","validate","validation","validator","valid","string","primitive","is","isstring","isprimitive"],"bugs":{"url":"https://github.com/validate-io/string-primitive/issues"},"dependencies":{},"devDependencies":{"chai":"2.x.x","mocha":"2.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0","jshint":"2.x.x","jshint-stylish":"^1.0.0"},"license":"MIT","gitHead":"9ae002f28893a0fee94623c6ad303e3df8ef8fd3","homepage":"https://github.com/validate-io/string-primitive#readme","_id":"validate.io-string-primitive@1.0.1","_shasum":"b8135b9fb1372bde02fdd53ad1d0ccd6de798fee","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"dist":{"shasum":"b8135b9fb1372bde02fdd53ad1d0ccd6de798fee","size":1477,"noattachment":false,"key":"/validate.io-string-primitive/-/validate.io-string-primitive-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/validate.io-string-primitive/download/validate.io-string-primitive-1.0.1.tgz"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"npm:kgryte","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/validate.io-string-primitive-1.0.1.tgz_1469621171099_0.8055636819917709"},"directories":{},"publish_time":1469621173542,"_hasShrinkwrap":false,"_cnpm_publish_time":1469621173542,"_cnpmcore_publish_time":"2021-12-17T02:00:20.267Z"},"1.0.0":{"name":"validate.io-string-primitive","version":"1.0.0","description":"Validates if a value is a string primitive.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/string-primitive.git"},"keywords":["validate.io","validate","validation","validator","valid","string","primitive","is","isstring","isprimitive"],"bugs":{"url":"https://github.com/validate-io/string-primitive/issues"},"dependencies":{},"devDependencies":{"chai":"2.x.x","mocha":"2.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0","jshint":"2.x.x","jshint-stylish":"^1.0.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"d49a66e2dea078a142b4c929e0eb217b855969db","homepage":"https://github.com/validate-io/string-primitive","_id":"validate.io-string-primitive@1.0.0","_shasum":"3549ca522da90d6a7445dca363d753f0e4c4f997","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"npm:kgryte","email":""}],"dist":{"shasum":"3549ca522da90d6a7445dca363d753f0e4c4f997","size":2473,"noattachment":false,"key":"/validate.io-string-primitive/-/validate.io-string-primitive-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/validate.io-string-primitive/download/validate.io-string-primitive-1.0.0.tgz"},"directories":{},"publish_time":1425628940870,"_hasShrinkwrap":false,"_cnpm_publish_time":1425628940870,"_cnpmcore_publish_time":"2021-12-17T02:00:20.477Z"},"0.0.0":{"name":"validate.io-string-primitive","version":"0.0.0","description":"Validates if a value is a string primitive.","author":{"name":"Athan Reines","email":"kgryte@gmail.com"},"contributors":[{"name":"Athan Reines","email":"kgryte@gmail.com"}],"scripts":{"test":"mocha","test-cov":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coverage -- -R spec","coveralls":"istanbul cover ./node_modules/.bin/_mocha --dir ./reports/coveralls/coverage --report lcovonly -- -R spec && cat ./reports/coveralls/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./reports/coveralls"},"main":"./lib","repository":{"type":"git","url":"git://github.com/validate-io/string-primitive.git"},"keywords":["validate.io","validate","validation","validator","valid","string","primitive","is","isstring","isprimitive"],"bugs":{"url":"https://github.com/validate-io/string-primitive/issues"},"dependencies":{},"devDependencies":{"chai":"2.x.x","mocha":"2.x.x","coveralls":"^2.11.1","istanbul":"^0.3.0","jshint":"2.x.x","jshint-stylish":"^1.0.0"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"gitHead":"97c49a7f8e13bd26fd21a3014f65fc0991b9f23c","homepage":"https://github.com/validate-io/string-primitive","_id":"validate.io-string-primitive@0.0.0","_shasum":"3626e8bd9b933f9fb4225c3d9d057ce46bc0181b","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"kgryte","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"npm:kgryte","email":""}],"dist":{"shasum":"3626e8bd9b933f9fb4225c3d9d057ce46bc0181b","size":2472,"noattachment":false,"key":"/validate.io-string-primitive/-/validate.io-string-primitive-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/validate.io-string-primitive/download/validate.io-string-primitive-0.0.0.tgz"},"directories":{},"publish_time":1425628918808,"_hasShrinkwrap":false,"_cnpm_publish_time":1425628918808,"_cnpmcore_publish_time":"2021-12-17T02:00:20.669Z"}},"readme":"String Primitive\n===\n[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependencies][dependencies-image]][dependencies-url]\n\n> Validates if a value is a string primitive.\n\n\n## Installation\n\n``` bash\n$ npm install validate.io-string-primitive\n```\n\nFor use in the browser, use [browserify](https://github.com/substack/node-browserify).\n\n\n## Usage\n\n``` javascript\nvar isString = require( 'validate.io-string-primitive' );\n```\n\n#### isString( value )\n\nValidates if a `value` is a `string` primitive.\n\n``` javascript\nvar value = 'beep';\n\nvar bool = isString( value );\n// returns true\n```\n\n\n## Examples\n\n``` javascript\nvar isString = require( 'validate.io-string-primitive' );\n\nconsole.log( isString( 'beep' ) );\n// returns true\n\nconsole.log( isString( new String( 'beep' ) ) );\n// returns false\n\nconsole.log( isString( 5 ) );\n// returns false\n```\n\nTo run the example code from the top-level application directory,\n\n``` bash\n$ node ./examples/index.js\n```\n\n\n## Tests\n\n### Unit\n\nUnit tests use the [Mocha](http://mochajs.org) test framework with [Chai](http://chaijs.com) assertions. To run the tests, execute the following command in the top-level application directory:\n\n``` bash\n$ make test\n```\n\nAll new feature development should have corresponding unit tests to validate correct functionality.\n\n\n### Test Coverage\n\nThis repository uses [Istanbul](https://github.com/gotwarlost/istanbul) as its code coverage tool. To generate a test coverage report, execute the following command in the top-level application directory:\n\n``` bash\n$ make test-cov\n```\n\nIstanbul creates a `./reports/coverage` directory. To access an HTML version of the report,\n\n``` bash\n$ make view-cov\n```\n\n\n---\n## License\n\n[MIT license](http://opensource.org/licenses/MIT). \n\n\n## Copyright\n\nCopyright &copy; 2015-2016. Athan Reines.\n\n\n[npm-image]: http://img.shields.io/npm/v/validate.io-string-primitive.svg\n[npm-url]: https://npmjs.org/package/validate.io-string-primitive\n\n[travis-image]: http://img.shields.io/travis/validate-io/string-primitive/master.svg\n[travis-url]: https://travis-ci.org/validate-io/string-primitive\n\n[coveralls-image]: https://img.shields.io/coveralls/validate-io/string-primitive/master.svg\n[coveralls-url]: https://coveralls.io/r/validate-io/string-primitive?branch=master\n\n[dependencies-image]: http://img.shields.io/david/validate-io/string-primitive.svg\n[dependencies-url]: https://david-dm.org/validate-io/string-primitive\n\n[dev-dependencies-image]: http://img.shields.io/david/dev/validate-io/string-primitive.svg\n[dev-dependencies-url]: https://david-dm.org/dev/validate-io/string-primitive\n\n[github-issues-image]: http://img.shields.io/github/issues/validate-io/string-primitive.svg\n[github-issues-url]: https://github.com/validate-io/string-primitive/issues\n","_attachments":{},"homepage":"https://github.com/validate-io/string-primitive#readme","bugs":{"url":"https://github.com/validate-io/string-primitive/issues"},"license":"MIT"}