{"name":"scss-tokenizer","version":"0.2.2","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":["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":"5ede9bffc7f1b24dfcb6ab4bf811f8a1e3a2636a","_id":"scss-tokenizer@0.2.2","_shasum":"a500d3a9f68927699df7803eb9d675b03a47f164","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"xzyfer","email":"xzyfer@gmail.com"},"dist":{"shasum":"a500d3a9f68927699df7803eb9d675b03a47f164","tarball":"http://registry-npm.ywwl.com/scss-tokenizer/download/scss-tokenizer-0.2.2.tgz","integrity":"sha512-HaM3FolsX6qg0x/9dd4poKXbYqBLF3zsi0Uyyu1GM6q3K4Z9TuLOooZbaJKA5I1bMRLsAgWX5SfuwQuvOKvyBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMrJWp107yXnKjJ3NirEqmTqHdxXEVHTS3zy4fvGRPtQIgOARPbagEYqWhVEkgknXJswdVQ9TxUf5fki+41Ed8ZeM="}],"size":1794,"noattachment":false,"key":"/scss-tokenizer/-/scss-tokenizer-0.2.2.tgz"},"maintainers":[{"name":"xzyfer","email":"xzyfer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/scss-tokenizer-0.2.2.tgz_1494600113701_0.93822256103158"},"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":1494600114982,"_cnpm_publish_time":1494600114982,"dist-tags":{"latest":"0.4.3"}}