{"name":"scss-tokenizer","version":"0.0.1","description":"A tokenzier for Sass' SCSS syntax","main":"index.js","scripts":{"test":"git submodule update --init && node test/sass-spec.js"},"repository":{"type":"git","url":"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":{"babel-core":"^5.4.3","js-base64":"^2.1.8","source-map":"^0.4.2"},"devDependencies":{"glob":"^5.0.10","tripwire":"^0.10.0"},"gitHead":"39c9783d86fb8b9cb471254f0ac9328248e9394a","_id":"scss-tokenizer@0.0.1","_shasum":"133c1977503b1aa8232d8669bc2da64e0b32d1f8","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.10.29","_npmUser":{"name":"xzyfer","email":"xzyfer@gmail.com"},"maintainers":[{"name":"xzyfer","email":"xzyfer@gmail.com"}],"dist":{"shasum":"133c1977503b1aa8232d8669bc2da64e0b32d1f8","tarball":"http://registry-npm.ywwl.com/scss-tokenizer/download/scss-tokenizer-0.0.1.tgz","integrity":"sha512-iq64F23lRqmXVEMC2Zk50pwjckKMqYXmGfsa/0Jj25kDrFHb8PmZdMGIeGT8vkCFFFvTUpOmJtL4YcfjDvS5pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICMQz4wNhOpi2+NGuNztKk48f2qqn5Lx5xsEOHqMc+U4AiAqnKr1CSDpBxPnkg235Ac/61V/D9JToeGOAmLjIhvcbA=="}],"size":449682,"noattachment":false,"key":"/scss-tokenizer/-/scss-tokenizer-0.0.1.tgz"},"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":1433871423235,"_cnpm_publish_time":1433871423235,"dist-tags":{"latest":"0.4.3"}}