# glsl-token-string

> Converts an array of GLSL tokens to a plain source string

Latest version **1.0.1** (published 2015-03-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install glsl-token-string
pnpm add glsl-token-string
yarn add glsl-token-string
bun add glsl-token-string
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-03-06 |
| First published | 2015-01-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Hugh Kennedy |
| Maintainers | hughsk, substack |
| Keywords | ecosystem:stackgl |

## Links

- npm: https://www.npmjs.com/package/glsl-token-string
- Repository: https://github.com/stackgl/glsl-token-string
- Issues: https://github.com/stackgl/glsl-token-string/issues
- npm.io page: https://npm.io/package/glsl-token-string

## Recent versions

- 1.0.1 (latest) — 2015-03-06
- 1.0.0 — 2015-01-02

## README

# glsl-token-string

[![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)

Simple helper package that converts an array of GLSL tokens to a plain GLSL
source string.

## Usage

[![NPM](https://nodei.co/npm/glsl-token-string.png)](https://nodei.co/npm/glsl-token-string/)

### `src = stringify(tokens)`

``` javascript
var tokenize  = require('glsl-tokenizer/string')
var stringify = require('glsl-token-string')
var assert    = require('assert')

var src    = 'vec3 light = vec3(1.0);'
var tokens = tokenize(src)

assert(stringify(tokens) === src)
```

## See Also

* [glsl-tokenizer](http://github.com/stackgl/glsl-tokenizer)
* [glsl-token-scope](http://github.com/stackgl/glsl-token-scope)
* [glsl-token-depth](http://github.com/stackgl/glsl-token-depth)
* [glsl-token-properties](http://github.com/stackgl/glsl-token-properties)
* [glsl-token-assignments](http://github.com/stackgl/glsl-token-assignments)

## License

MIT. See [LICENSE.md](http://github.com/stackgl/glsl-token-string/blob/master/LICENSE.md) for details.

---
_Source: https://npm.io/package/glsl-token-string · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
