{"_id":"glsl-token-string","_rev":"443960","name":"glsl-token-string","description":"Converts an array of GLSL tokens to a plain source string","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"substack","email":"mail@substack.net"}],"time":{"modified":"2024-06-19T00:14:03.000Z","created":"2015-01-02T21:57:06.734Z","1.0.1":"2015-03-06T23:48:53.442Z","1.0.0":"2015-01-02T21:57:06.734Z"},"users":{},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"repository":{"type":"git","url":"git://github.com/stackgl/glsl-token-string.git"},"versions":{"1.0.1":{"name":"glsl-token-string","version":"1.0.1","description":"Converts an array of GLSL tokens to a plain source string","main":"index.js","license":"MIT","scripts":{"test":"node test | tap-spec"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"dependencies":{},"devDependencies":{"glsl-tokenizer":"^2.0.0","tap-spec":"^2.1.2","tape":"^3.0.3"},"repository":{"type":"git","url":"git://github.com/stackgl/glsl-token-string.git"},"keywords":["ecosystem:stackgl"],"homepage":"https://github.com/stackgl/glsl-token-string","bugs":{"url":"https://github.com/stackgl/glsl-token-string/issues"},"gitHead":"90ffe21fc7c5af9a7beccb9068b9b20cf7cad490","_id":"glsl-token-string@1.0.1","_shasum":"59441d2f857de7c3449c945666021ece358e48ec","_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":"59441d2f857de7c3449c945666021ece358e48ec","tarball":"http://registry-npm.ywwl.com/glsl-token-string/download/glsl-token-string-1.0.1.tgz","integrity":"sha512-1mtQ47Uxd47wrovl+T6RshKGkRRCYWhnELmkEcUAPALWGTFe2XZpH3r45XAwL2B6v+l0KNsCnoaZCSnhzKEksg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGbOVxCtIsx6QTk7rZf6vB5IwobKXLE0f+IFGEzDpUX4AiEA/tzLPCPiMlXF4XPiJs1bQmGEy3cE6FtFC8lPftffpNM="}],"size":2015,"noattachment":false,"key":"/glsl-token-string/-/glsl-token-string-1.0.1.tgz"},"directories":{},"publish_time":1425685733442,"_cnpm_publish_time":1425685733442},"1.0.0":{"name":"glsl-token-string","version":"1.0.0","description":"Converts an array of GLSL tokens to a plain source string","main":"index.js","license":"MIT","scripts":{"test":"node test | tap-spec"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"dependencies":{},"devDependencies":{"glsl-tokenizer":"git://github.com/stackgl/glsl-tokenizer#2.0.0","tap-spec":"^2.1.2","tape":"^3.0.3"},"repository":{"type":"git","url":"git://github.com/stackgl/glsl-token-string.git"},"keywords":["ecosystem:stackgl"],"homepage":"https://github.com/stackgl/glsl-token-string","bugs":{"url":"https://github.com/stackgl/glsl-token-string/issues"},"gitHead":"573d045e0aafebeb0eb8b144132d0d8a56efd6fb","_id":"glsl-token-string@1.0.0","_shasum":"88ec21e715854cff9708baaf01ab7b6a9222d285","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.28","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"dist":{"shasum":"88ec21e715854cff9708baaf01ab7b6a9222d285","tarball":"http://registry-npm.ywwl.com/glsl-token-string/download/glsl-token-string-1.0.0.tgz","integrity":"sha512-ZTcrdt3usKqbZW2YKUNuz3ikEG3+ldjU1tw7UE8rHo5jHTdnKMUxnESn9ygB8JNjuR457XZoWWIUMTjE7jCKXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAa04Yc6C46RU41sPkAfS9cDzCCATgtVPZ9N3mQMwvxfAiEA9qnxV2OeDIQ15eTijM0z0dTWEJW/ku1cyySwrh3WA3Y="}],"size":2016,"noattachment":false,"key":"/glsl-token-string/-/glsl-token-string-1.0.0.tgz"},"directories":{},"publish_time":1420235826734,"_cnpm_publish_time":1420235826734}},"readme":"# glsl-token-string\n\n[![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)\n\nSimple helper package that converts an array of GLSL tokens to a plain GLSL\nsource string.\n\n## Usage\n\n[![NPM](https://nodei.co/npm/glsl-token-string.png)](https://nodei.co/npm/glsl-token-string/)\n\n### `src = stringify(tokens)`\n\n``` javascript\nvar tokenize  = require('glsl-tokenizer/string')\nvar stringify = require('glsl-token-string')\nvar assert    = require('assert')\n\nvar src    = 'vec3 light = vec3(1.0);'\nvar tokens = tokenize(src)\n\nassert(stringify(tokens) === src)\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-properties](http://github.com/stackgl/glsl-token-properties)\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-string/blob/master/LICENSE.md) for details.\n","_attachments":{},"homepage":"https://github.com/stackgl/glsl-token-string","bugs":{"url":"https://github.com/stackgl/glsl-token-string/issues"},"license":"MIT"}