{"name":"scss-tokenizer","version":"0.2.1","description":"A tokenzier for Sass' SCSS syntax","main":"index.js","scripts":{"test":"mocha","clean":"rm lib/*","build":"npm run clean; babel src/ --out-dir lib","prepublishOnly":"npm run build"},"files":["lib"],"repository":{"type":"git","url":"git+https://github.com/sasstools/scss-tokenizer.git"},"keywords":["parser","tokenizer","sass","scss","libsass"],"author":{"name":"xzyfer"},"license":"MIT","bugs":{"url":"https://github.com/sasstools/scss-tokenizer/issues"},"homepage":"https://github.com/sasstools/scss-tokenizer","dependencies":{"js-base64":"^2.1.8","source-map":"^0.4.2"},"devDependencies":{"babel-cli":"^6.24.1","babel-preset-es2015":"^6.24.1","chai":"^3.5.0","glob":"^5.0.10","mocha":"^3.2.0","sass-spec":"^3.5.0-1"},"gitHead":"c4e8ec0ebcd6769d33659752616ca654bb7e23c1","_id":"scss-tokenizer@0.2.1","_shasum":"07c0cc577bb7ab4d08fd900185adbf4bc844141d","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"xzyfer","email":"xzyfer@gmail.com"},"dist":{"shasum":"07c0cc577bb7ab4d08fd900185adbf4bc844141d","tarball":"http://registry-npm.ywwl.com/scss-tokenizer/download/scss-tokenizer-0.2.1.tgz","integrity":"sha512-w9K78IJTmoVnAlY3L8EEXebRo+2vc3sMl5xk1Z09RD9RPz38IDmfff6A89KXjyw+wG6OA/cNOZYQ8lkYYTDeKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDa3LAlJYHTNlpC1tbQS1oI0G7ujMfl39gR0Uyar1lUSQIhAJgC5KLRkQdZyvnL1XPWoPWzx4WM3PcUE54/ZigRWSew"}],"size":5777,"noattachment":false,"key":"/scss-tokenizer/-/scss-tokenizer-0.2.1.tgz"},"maintainers":[{"name":"xzyfer","email":"xzyfer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/scss-tokenizer-0.2.1.tgz_1493432124758_0.4050206234678626"},"directories":{},"readme":"# scss-tokenizer\nA tokenizer for Sass' SCSS syntax\n\n![https://travis-ci.org/sasstools/scss-tokenizer.svg?branch=master](https://img.shields.io/travis/sasstools/scss-tokenizer.svg)\n![https://www.npmjs.com/package/scss-tokenizer](https://img.shields.io/npm/v/scss-tokenizer.svg)\n![https://github.com/sasstools/scss-tokenizer/issues](https://img.shields.io/github/issues/sasstools/scss-tokenizer.svg)\n![](https://img.shields.io/github/license/sasstools/scss-tokenizer.svg)\n\n# Install\n\n```\nnpm install scss-tokenizer\n```\n\n# Usage\n\n```js\nvar scss = require('scss-tokenizer');\nscss.tokenize(css);\n```\n\n# API\n\n### `tokenize`\n\nTokenizes source `css` and returns an ordered array of tokens with positional\ndata.\n\n```js\nvar tokenizer = require('scss-tokenizer');\nvar tokens = tokenize.tokenize(css);\n```\n\nArguments:\n\n* `css (string|#toString)`: String with input CSS or any object\n  with `toString()` method, like file stream.\n* `opts (object) optional`: options:\n  * `from`: the path to the source CSS file. You should always set `from`,\n    because it is used in map generation and in syntax error messages.\n\n# Test\n\n```\nnpm test\n```\n\n## Attribution\n\nThis project started as a fork of the [PostCSS](https://github.com/postcss/postcss) tokenizer.\n","publish_time":1493432126704,"_cnpm_publish_time":1493432126704,"dist-tags":{"latest":"0.4.3"}}