{"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":"hughsk","email":"hughskennedy@gmail.com"},{"name":"substack","email":"mail@substack.net"}],"dist":{"shasum":"483dc3d839f0d4b5c6171d1591f249be53c28a9e","tarball":"http://registry-npm.ywwl.com/glsl-token-properties/download/glsl-token-properties-1.0.1.tgz","integrity":"sha512-dSeW1cOIzbuUoYH0y+nxzwK9S9O3wsjttkq5ij9ZGw0OS41BirKJzzH48VLm8qLg+au6b0sINxGC0IrGwtQUcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXNFcv4WcXsTzeLaHerP5ZPW3LrPJ7MIXZbg5cukanqgIgWiNZjuAHkn1deV7kkkGuQKeq73Nq10HEIKhTunFBLMI="}],"size":2040,"noattachment":false,"key":"/glsl-token-properties/-/glsl-token-properties-1.0.1.tgz"},"directories":{},"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","publish_time":1425685691965,"_cnpm_publish_time":1425685691965,"dist-tags":{"latest":"1.0.1"}}