{"_id":"css-list","_rev":"149967","name":"css-list","description":"[Deprecated] Use postcss-value-parser instead","dist-tags":{"latest":"0.1.3"},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"time":{"modified":"2021-06-03T11:31:51.000Z","created":"2015-04-29T01:11:00.931Z","0.1.3":"2015-09-10T15:03:15.969Z","0.1.2":"2015-07-13T21:55:36.385Z","0.1.1":"2015-07-13T19:12:45.830Z","0.1.0":"2015-05-10T19:26:57.411Z","0.0.3":"2015-05-02T16:41:22.541Z","0.0.2":"2015-04-29T01:11:00.931Z"},"users":{},"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"repository":{"type":"git","url":"git+https://github.com/TrySound/css-list.git"},"versions":{"0.1.3":{"name":"css-list","version":"0.1.3","description":"[Deprecated] Use postcss-value-parser instead","main":"index.js","scripts":{"test":"tape test/*.js | tap-spec"},"repository":{"type":"git","url":"git+https://github.com/TrySound/css-list.git"},"keywords":["css","parse","list","postcss"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","bugs":{"url":"https://github.com/TrySound/css-list/issues"},"homepage":"https://github.com/TrySound/css-list","devDependencies":{"tap-spec":"^4.0.2","tape":"^4.0.0"},"gitHead":"6196657f863c947c3fee23f85f260f6c4969ffcd","_id":"css-list@0.1.3","_shasum":"a7b33b4419f83d412320dde9133a0d1004948d70","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"dist":{"shasum":"a7b33b4419f83d412320dde9133a0d1004948d70","size":2766,"noattachment":false,"key":"/css-list/-/css-list-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-list/download/css-list-0.1.3.tgz"},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"directories":{},"publish_time":1441897395969,"_cnpm_publish_time":1441897395969,"deprecated":"Deprecated.","_hasShrinkwrap":false},"0.1.2":{"name":"css-list","version":"0.1.2","description":"css parsing helpers","main":"index.js","scripts":{"test":"tape test/*.js | tap-spec"},"repository":{"type":"git","url":"git+https://github.com/TrySound/css-list.git"},"keywords":["css","parse","list","postcss"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","bugs":{"url":"https://github.com/TrySound/css-list/issues"},"homepage":"https://github.com/TrySound/css-list","devDependencies":{"tap-spec":"^4.0.2","tape":"^4.0.0"},"gitHead":"a620fcd517fa333268e613d84c5f3418d50ff4ec","_id":"css-list@0.1.2","_shasum":"52e7dd1ea16c7f005115fcdf20da748d5c75615d","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.6","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"dist":{"shasum":"52e7dd1ea16c7f005115fcdf20da748d5c75615d","size":2702,"noattachment":false,"key":"/css-list/-/css-list-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-list/download/css-list-0.1.2.tgz"},"directories":{},"publish_time":1436824536385,"_cnpm_publish_time":1436824536385,"deprecated":"Deprecated.","_hasShrinkwrap":false},"0.1.1":{"name":"css-list","version":"0.1.1","description":"css parsing helpers","main":"index.js","scripts":{"test":"tape test/*.js | tap-spec"},"repository":{"type":"git","url":"https://github.com/TrySound/css-list"},"keywords":["css","parse","list","postcss"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","bugs":{"url":"https://github.com/TrySound/css-list/issues"},"homepage":"https://github.com/TrySound/css-list","devDependencies":{"tap-spec":"^4.0.2","tape":"^4.0.0"},"gitHead":"58ba1a7b91f6c1bcd1276cccc7a6ee041a6b85dc","_id":"css-list@0.1.1","_shasum":"c780e2d34d4642eedd6047747547251110368ee3","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"dist":{"shasum":"c780e2d34d4642eedd6047747547251110368ee3","size":2743,"noattachment":false,"key":"/css-list/-/css-list-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-list/download/css-list-0.1.1.tgz"},"directories":{},"publish_time":1436814765830,"_cnpm_publish_time":1436814765830,"deprecated":"Deprecated.","_hasShrinkwrap":false},"0.1.0":{"name":"css-list","version":"0.1.0","description":"css parsing helpers","main":"index.js","scripts":{"test":"tape test/*.js | tap-spec"},"repository":{"type":"git","url":"https://github.com/TrySound/css-list"},"keywords":["css","parse","list","postcss"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","bugs":{"url":"https://github.com/TrySound/css-list/issues"},"homepage":"https://github.com/TrySound/css-list","devDependencies":{"tap-spec":"^3.0.0","tape":"^4.0.0"},"gitHead":"bb8f09e686106b972610deadacdd6c9621afadaf","_id":"css-list@0.1.0","_shasum":"d557446aeabd10351275d4d6b2f3c21a91535929","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"beneb","email":"therealbenbriggs@hotmail.com"},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"dist":{"shasum":"d557446aeabd10351275d4d6b2f3c21a91535929","size":2682,"noattachment":false,"key":"/css-list/-/css-list-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-list/download/css-list-0.1.0.tgz"},"directories":{},"publish_time":1431286017411,"_cnpm_publish_time":1431286017411,"deprecated":"Deprecated.","_hasShrinkwrap":false},"0.0.3":{"name":"css-list","version":"0.0.3","description":"css parsing helpers","main":"index.js","scripts":{"test":"tape test/*.js | tap-spec"},"repository":{"type":"git","url":"https://github.com/TrySound/css-list"},"keywords":["css","parse","list","postcss"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","bugs":{"url":"https://github.com/TrySound/css-list/issues"},"homepage":"https://github.com/TrySound/css-list","devDependencies":{"tap-spec":"^3.0.0","tape":"^4.0.0"},"gitHead":"861999cb709d8d1480ff8b8ec13e8da7e4fa8aea","_id":"css-list@0.0.3","_shasum":"498434247a27a3be425caf2da4c399013961e658","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.0","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"dist":{"shasum":"498434247a27a3be425caf2da4c399013961e658","size":2469,"noattachment":false,"key":"/css-list/-/css-list-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-list/download/css-list-0.0.3.tgz"},"directories":{},"publish_time":1430584882541,"_cnpm_publish_time":1430584882541,"deprecated":"Deprecated.","_hasShrinkwrap":false},"0.0.2":{"name":"css-list","version":"0.0.2","description":"css parsing helpers","main":"index.js","scripts":{"test":"tape test/*.js | tap-spec"},"repository":{"type":"git","url":"https://github.com/TrySound/css-list"},"keywords":["css","parse","list","postcss"],"author":{"name":"Bogdan Chadkin","email":"trysound@yandex.ru"},"license":"MIT","bugs":{"url":"https://github.com/TrySound/css-list/issues"},"homepage":"https://github.com/TrySound/css-list","devDependencies":{"tape":"^4.0.0"},"gitHead":"9be75d7c03425499ad8eb942703599358219c722","_id":"css-list@0.0.2","_shasum":"1764848f5933dc068a0a6fac68130acc1e74ce9a","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.0","_npmUser":{"name":"trysound","email":"trysound@yandex.ru"},"maintainers":[{"name":"trysound","email":"trysound@yandex.ru"}],"dist":{"shasum":"1764848f5933dc068a0a6fac68130acc1e74ce9a","size":2056,"noattachment":false,"key":"/css-list/-/css-list-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-list/download/css-list-0.0.2.tgz"},"directories":{},"publish_time":1430269860931,"_cnpm_publish_time":1430269860931,"deprecated":"Deprecated.","_hasShrinkwrap":false}},"readme":"> [Deprecated] Use postcss-value-parser instead\r\n\r\n# css-list [![Build Status](https://travis-ci.org/TrySound/css-list.svg)](https://travis-ci.org/TrySound/css-list)\r\ncss parsing helpers\r\n\r\n## API\r\n\r\nIf `separators` is not specified, it will default to\r\n`[' ', '\\n', '\\t', ',', '/']`.\r\n\r\n### list.each(input[, separators], cb)\r\n\r\n```js\r\nlist.each('\"50%\" 50%/100% calc(100% + 20%)', [' ', '/'], function (value, type) {\r\n\t// \"50%\" quote\r\n\t// 50% null\r\n\t// 100% null\r\n\t// calc(100% + 20%) func\r\n});\r\n```\r\n\r\n### list.map(input[, separators], cb)\r\n\r\n```js\r\nlist.map('\"50%\" 50%/100% calc(100% + 20%)', [' ', '/'], function (value, type, prevValue, prevType) {\r\n\tif(type === 'func' || type === 'quote') {\r\n\t\treturn type;\r\n\t}\r\n});\r\n// quote 50%/100% func\r\n```\r\n\r\n### list.split(input[, separators], last)\r\n\r\n```js\r\n// space\r\nlist.split('10px 20px 5px 15px')', ['\\n', '\\t', ' '])\r\n// ['10px', '20px', '5px', '15px']\r\n```\r\n\r\n```js\r\n// comma\r\nlist.split('10px, 20px, 5px, ')', [','], true)\r\n// ['10px', '20px', '5px', '']\r\n```\r\n","_attachments":{},"homepage":"https://github.com/TrySound/css-list","bugs":{"url":"https://github.com/TrySound/css-list/issues"},"license":"MIT"}