{"_id":"glsl-token-properties","_rev":"409573","name":"glsl-token-properties","description":"Takes an array of GLSL tokens and determines whether or not they're a property of another identifier","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"archmoj","email":"arch.mojtaba.samimi@gmail.com"},{"name":"bpostlethwaite","email":"post.ben.here@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"155263213@qq.com"},{"name":"erkaman","email":"arnebackeric@gmail.com"},{"name":"gre","email":"renaudeau.gaetan@gmail.com"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"vorg","email":"marcin.ignac@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"time":{"modified":"2021-08-04T05:03:16.000Z","created":"2015-01-02T21:34:01.418Z","1.0.1":"2015-03-06T23:48:11.965Z","1.0.0":"2015-01-02T21:34:01.418Z"},"users":{},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"repository":{"type":"git","url":"git://github.com/stackgl/glsl-token-properties.git"},"versions":{"1.0.1":{"name":"glsl-token-properties","version":"1.0.1","description":"Takes an array of GLSL tokens and determines whether or not they're a property of another identifier","main":"index.js","license":"MIT","scripts":{"test":"npm run test:node && npm run test:browser","test:node":"node test | tap-spec","test:browser":"browserify test | tap-closer | smokestack | tap-spec"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"dependencies":{},"devDependencies":{"browserify":"^8.0.3","glsl-tokenizer":"^2.0.0","smokestack":"^3.0.0","tap-closer":"^1.0.0","tap-spec":"^2.1.2","tape":"^3.0.3"},"repository":{"type":"git","url":"git://github.com/stackgl/glsl-token-properties.git"},"keywords":["ecosystem:stackgl"],"homepage":"https://github.com/stackgl/glsl-token-properties","bugs":{"url":"https://github.com/stackgl/glsl-token-properties/issues"},"gitHead":"bc9d5af2db20bf4d172e8e3ebba87abb8baaf608","_id":"glsl-token-properties@1.0.1","_shasum":"483dc3d839f0d4b5c6171d1591f249be53c28a9e","_from":".","_npmVersion":"2.5.0","_nodeVersion":"0.10.36","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"archmoj","email":"arch.mojtaba.samimi@gmail.com"},{"name":"bpostlethwaite","email":"post.ben.here@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"155263213@qq.com"},{"name":"erkaman","email":"arnebackeric@gmail.com"},{"name":"gre","email":"renaudeau.gaetan@gmail.com"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"vorg","email":"marcin.ignac@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"dist":{"shasum":"483dc3d839f0d4b5c6171d1591f249be53c28a9e","size":2040,"noattachment":false,"key":"/glsl-token-properties/-/glsl-token-properties-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/glsl-token-properties/download/glsl-token-properties-1.0.1.tgz"},"directories":{},"publish_time":1425685691965,"_cnpm_publish_time":1425685691965,"_hasShrinkwrap":false},"1.0.0":{"name":"glsl-token-properties","version":"1.0.0","description":"Takes an array of GLSL tokens and determines whether or not they're a property of another identifier","main":"index.js","license":"MIT","scripts":{"test":"npm run test:node && npm run test:browser","test:node":"node test | tap-spec","test:browser":"browserify test | tap-closer | smokestack | tap-spec"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"dependencies":{},"devDependencies":{"browserify":"^8.0.3","glsl-tokenizer":"git://github.com/stackgl/glsl-tokenizer#2.0.0","smokestack":"^3.0.0","tap-closer":"^1.0.0","tap-spec":"^2.1.2","tape":"^3.0.3"},"repository":{"type":"git","url":"git://github.com/stackgl/glsl-token-properties.git"},"keywords":["ecosystem:stackgl"],"homepage":"https://github.com/stackgl/glsl-token-properties","bugs":{"url":"https://github.com/stackgl/glsl-token-properties/issues"},"gitHead":"3f028c934d9631c68e90767d4e261b8a45a662e4","_id":"glsl-token-properties@1.0.0","_shasum":"92cddfd44a93ed1c9e848acfdec57fe64c7f51c2","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.28","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"archmoj","email":"arch.mojtaba.samimi@gmail.com"},{"name":"bpostlethwaite","email":"post.ben.here@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"155263213@qq.com"},{"name":"erkaman","email":"arnebackeric@gmail.com"},{"name":"gre","email":"renaudeau.gaetan@gmail.com"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"vorg","email":"marcin.ignac@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"i@yoshuawuyts.com"}],"dist":{"shasum":"92cddfd44a93ed1c9e848acfdec57fe64c7f51c2","size":2039,"noattachment":false,"key":"/glsl-token-properties/-/glsl-token-properties-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/glsl-token-properties/download/glsl-token-properties-1.0.0.tgz"},"directories":{},"publish_time":1420234441418,"_cnpm_publish_time":1420234441418,"_hasShrinkwrap":false}},"readme":"# glsl-token-properties\n\n[![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)\n\nTakes an array of GLSL tokens and determines whether or not they're a property\nof another identifier.\n\n## Usage\n\n[![NPM](https://nodei.co/npm/glsl-token-properties.png)](https://nodei.co/npm/glsl-token-properties/)\n\n### `properties(tokens)`\n\nTakes an array of GLSL `tokens` from\n[`glsl-tokenizer`](http://github.com/stackgl/glsl-tokenizer) and sets a\n`property` boolean for whether or not the token is a property.\n\n``` javascript\nvar tokenizer  = require('glsl-tokenizer/string')\nvar properties = require('glsl-token-properties')\n\nvar src = 'some.value[2];'\nvar tokens = tokenizer(src)\n\n// determine which tokens are properties\nproperties(tokens)\n\ntokens[0].data     // \"some\"\ntokens[0].property // false\ntokens[2].data     // \"value\"\ntokens[2].property // true\ntokens[4].data     // \"2\"\ntokens[4].property // false\n```\n\n## See Also\n\n* [glsl-tokenizer](http://github.com/stackgl/glsl-tokenizer)\n* [glsl-token-scope](http://github.com/stackgl/glsl-token-scope)\n* [glsl-token-depth](http://github.com/stackgl/glsl-token-depth)\n* [glsl-token-assignments](http://github.com/stackgl/glsl-token-assignments)\n\n## License\n\nMIT. See [LICENSE.md](http://github.com/stackgl/glsl-token-properties/blob/master/LICENSE.md) for details.\n","_attachments":{},"homepage":"https://github.com/stackgl/glsl-token-properties","bugs":{"url":"https://github.com/stackgl/glsl-token-properties/issues"},"license":"MIT"}