{"_id":"glsl-token-properties","_rev":"23-f60c6e1ee7887023800c7b4e4aa4c092","name":"glsl-token-properties","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"glsl-token-properties","version":"1.0.0","keywords":["ecosystem:stackgl"],"author":{"url":"http://hughsk.io/","name":"Hugh Kennedy","email":"hughskennedy@gmail.com"},"license":"MIT","_id":"glsl-token-properties@1.0.0","maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"homepage":"https://github.com/stackgl/glsl-token-properties","bugs":{"url":"https://github.com/stackgl/glsl-token-properties/issues"},"dist":{"shasum":"92cddfd44a93ed1c9e848acfdec57fe64c7f51c2","tarball":"https://registry.npmjs.org/glsl-token-properties/-/glsl-token-properties-1.0.0.tgz","integrity":"sha512-vLl0iCInmz1GRcqvOJZYh8ErmG5QAIM7hDUsC+kvDCXrEZkil3KpHpwwDG8/TypPBAzqqqWMf6h5pyVNe5mVmA==","signatures":[{"sig":"MEQCICXytFmlm0qvE9C0on3y6MYrrpzQlQnJstPngCx35BdlAiAMPUGVf65Sh6U0ziEb2a0iY70kR4wvWGj9RX5kufQQoA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"92cddfd44a93ed1c9e848acfdec57fe64c7f51c2","gitHead":"3f028c934d9631c68e90767d4e261b8a45a662e4","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"},"_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"repository":{"url":"git://github.com/stackgl/glsl-token-properties.git","type":"git"},"_npmVersion":"2.1.16","description":"Takes an array of GLSL tokens and determines whether or not they're a property of another identifier","directories":{},"_nodeVersion":"0.10.28","dependencies":{},"devDependencies":{"tape":"^3.0.3","tap-spec":"^2.1.2","browserify":"^8.0.3","smokestack":"^3.0.0","tap-closer":"^1.0.0","glsl-tokenizer":"git://github.com/stackgl/glsl-tokenizer#2.0.0"}},"1.0.1":{"name":"glsl-token-properties","version":"1.0.1","keywords":["ecosystem:stackgl"],"author":{"url":"http://hughsk.io/","name":"Hugh Kennedy","email":"hughskennedy@gmail.com"},"license":"MIT","_id":"glsl-token-properties@1.0.1","maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"substack","email":"mail@substack.net"}],"homepage":"https://github.com/stackgl/glsl-token-properties","bugs":{"url":"https://github.com/stackgl/glsl-token-properties/issues"},"dist":{"shasum":"483dc3d839f0d4b5c6171d1591f249be53c28a9e","tarball":"https://registry.npmjs.org/glsl-token-properties/-/glsl-token-properties-1.0.1.tgz","integrity":"sha512-dSeW1cOIzbuUoYH0y+nxzwK9S9O3wsjttkq5ij9ZGw0OS41BirKJzzH48VLm8qLg+au6b0sINxGC0IrGwtQUcA==","signatures":[{"sig":"MEUCIQDXNFcv4WcXsTzeLaHerP5ZPW3LrPJ7MIXZbg5cukanqgIgWiNZjuAHkn1deV7kkkGuQKeq73Nq10HEIKhTunFBLMI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"483dc3d839f0d4b5c6171d1591f249be53c28a9e","gitHead":"bc9d5af2db20bf4d172e8e3ebba87abb8baaf608","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"},"_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"repository":{"url":"git://github.com/stackgl/glsl-token-properties.git","type":"git"},"_npmVersion":"2.5.0","description":"Takes an array of GLSL tokens and determines whether or not they're a property of another identifier","directories":{},"_nodeVersion":"0.10.36","dependencies":{},"devDependencies":{"tape":"^3.0.3","tap-spec":"^2.1.2","browserify":"^8.0.3","smokestack":"^3.0.0","tap-closer":"^1.0.0","glsl-tokenizer":"^2.0.0"}}},"time":{"created":"2015-01-02T21:34:01.418Z","modified":"2024-12-29T00:47:20.454Z","1.0.0":"2015-01-02T21:34:01.418Z","1.0.1":"2015-03-06T23:48:11.965Z"},"bugs":{"url":"https://github.com/stackgl/glsl-token-properties/issues"},"author":{"url":"http://hughsk.io/","name":"Hugh Kennedy","email":"hughskennedy@gmail.com"},"license":"MIT","homepage":"https://github.com/stackgl/glsl-token-properties","keywords":["ecosystem:stackgl"],"repository":{"url":"git://github.com/stackgl/glsl-token-properties.git","type":"git"},"description":"Takes an array of GLSL tokens and determines whether or not they're a property of another identifier","maintainers":[{"email":"hughskennedy@gmail.com","name":"hughsk"},{"email":"mikolalysenko@gmail.com","name":"mikolalysenko"},{"email":"dave.des@gmail.com","name":"mattdesl"},{"email":"chris@neversaw.us","name":"chrisdickinson"},{"email":"javascript@yosh.is","name":"yoshuawuyts"},{"email":"me@mikkoh.com","name":"mikkoh"},{"email":"tatum.creative@gmail.com","name":"tatumcreative"},{"email":"wwwtyro@gmail.com","name":"wwwtyro"},{"email":"thibaut.seguy@gmail.com","name":"thibauts"},{"email":"post.ben.here@gmail.com","name":"bpostlethwaite"},{"email":"df.creative@gmail.com","name":"dfcreative"},{"email":"arnebackeric@gmail.com","name":"erkaman"},{"email":"renaudeau.gaetan@gmail.com","name":"gre"},{"email":"rsreusser@gmail.com","name":"rreusser"},{"email":"marcin.ignac@gmail.com","name":"vorg"},{"email":"arch.mojtaba.samimi@gmail.com","name":"archmoj"}],"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","readmeFilename":"README.md"}