{"name":"scss-tokenizer","version":"0.2.3","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"},"files":["index.js","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":"69a031e614fd948233c0583a29a3e764c2f90bc9","_id":"scss-tokenizer@0.2.3","_shasum":"8eb06db9a9723333824d3f5530641149847ce5d1","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"xzyfer","email":"xzyfer@gmail.com"},"dist":{"shasum":"8eb06db9a9723333824d3f5530641149847ce5d1","tarball":"http://registry-npm.ywwl.com/scss-tokenizer/download/scss-tokenizer-0.2.3.tgz","integrity":"sha512-dYE8LhncfBUar6POCxMTm0Ln+erjeczqEvCJib5/7XNkdw1FkUGgwMPY360FY0FgPWQxHWCx29Jl3oejyGLM9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDZuKcMdoe81oQ7KiyFkDVDZusy+gi93QkeXFuRWnd/wIgPbNgjnZAxTRDN1++Qp4qzY/zdzjDpO4rTrKlWUPNYaM="}],"size":5764,"noattachment":false,"key":"/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz"},"maintainers":[{"name":"xzyfer","email":"xzyfer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scss-tokenizer-0.2.3.tgz_1494600519250_0.10013756598345935"},"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":1494600521175,"_cnpm_publish_time":1494600521175,"dist-tags":{"latest":"0.4.3"}}