{"_id":"style-attr","_rev":"12-da3dd47fc2ba911d23d5e5d4e7ef82c6","name":"style-attr","description":"Parse and stringify style attributes","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"style-attr","version":"1.0.0","description":"Parse and stringify style attributes","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"https://github.com/joshwnj/style-attr"},"keywords":["style","parse","stringify"],"author":{"name":"joshwnj"},"license":"MIT","bugs":{"url":"https://github.com/joshwnj/style-attr/issues"},"homepage":"https://github.com/joshwnj/style-attr","devDependencies":{"tape":"^3.0.2"},"gitHead":"a66329f1bc246afd9bdb4e9a9a244d1a4134a6ab","_id":"style-attr@1.0.0","_shasum":"1ab243bdc1c35e28330dfb91b598dd3f329914ed","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"joshwnj","email":"josh@x-team.com"},"maintainers":[{"name":"joshwnj","email":"josh@x-team.com"}],"dist":{"shasum":"1ab243bdc1c35e28330dfb91b598dd3f329914ed","tarball":"https://registry.npmjs.org/style-attr/-/style-attr-1.0.0.tgz","integrity":"sha512-vbfpseWM0GFmk5uvzwot4SQsiN5XbWOMg/Uo68CMpM7u+9OXSRZ2A11K71Qq463fIdSycIfQaf93dulaZHfbww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAD7Dp5HrSqOmohgjWGiqQiMC7K4MtAvHkBI5KiLmZPXAiEA4SzGGFMvmnmmzYoV+KfA6ncF1fVyJnXVBsSf4MVn4U0="}]}},"1.0.1":{"name":"style-attr","version":"1.0.1","description":"Parse and stringify style attributes","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"https://github.com/joshwnj/style-attr"},"keywords":["style","parse","stringify"],"author":{"name":"joshwnj"},"license":"MIT","bugs":{"url":"https://github.com/joshwnj/style-attr/issues"},"homepage":"https://github.com/joshwnj/style-attr","devDependencies":{"tape":"^3.0.2"},"gitHead":"03a94e0548adc231b035ab5af198cc3a7e10dbcb","_id":"style-attr@1.0.1","_shasum":"4542b006e93aec1bffe04c50bcd982f0e51fdb3d","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"joshwnj","email":"josh@x-team.com"},"maintainers":[{"name":"joshwnj","email":"josh@x-team.com"}],"dist":{"shasum":"4542b006e93aec1bffe04c50bcd982f0e51fdb3d","tarball":"https://registry.npmjs.org/style-attr/-/style-attr-1.0.1.tgz","integrity":"sha512-J32hOHj8i4DamWGzr7Rr6jad6RllBe0P3DGa/3wWmCIg0S+Lsuh5cMj0t4HFp0+qyhA6ct78tgoGgUiyQUf9zw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEet3aVzZ2SkBnQ/FDonb6H9uuzxXUeAh+5yWneZ2d7nAiEAgcUP5FbcxC2zAeRa0rahQE3LIWnMAQn/9vzaw/+BN64="}]}},"1.0.2":{"name":"style-attr","version":"1.0.2","description":"Parse and stringify style attributes","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"https://github.com/joshwnj/style-attr"},"keywords":["style","parse","stringify"],"author":{"name":"joshwnj"},"license":"MIT","bugs":{"url":"https://github.com/joshwnj/style-attr/issues"},"homepage":"https://github.com/joshwnj/style-attr","devDependencies":{"tape":"^3.0.2"},"gitHead":"25064a9a19a8c0223057ab56ba9f4c3692b3d91f","_id":"style-attr@1.0.2","_shasum":"63ac2a4365cf04faf83f4c0e844b3ca85901611f","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"joshwnj","email":"josh@x-team.com"},"maintainers":[{"name":"joshwnj","email":"josh@x-team.com"}],"dist":{"shasum":"63ac2a4365cf04faf83f4c0e844b3ca85901611f","tarball":"https://registry.npmjs.org/style-attr/-/style-attr-1.0.2.tgz","integrity":"sha512-d2zArR84qZXp0ghAMJ8aEtVJDY85O6lbvAs6Klh0Z9gJYTgudUZ4okBtX06G8xF3KKVOSioBtOtVV2g0GhyV6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH3qWcd+fcclpp/PNImqtAYWy83SqfxqzdDCRPkvvYEnAiEA13Foi03+cQf38MH5oyr0jvotUcFRt+CPILrXJO7OQoc="}]},"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/style-attr-1.0.2.tgz_1455651858514_0.13693435257300735"}},"1.1.0":{"name":"style-attr","version":"1.1.0","description":"Parse and stringify style attributes","main":"lib/index.js","scripts":{"build":"babel --out-dir lib src","flow":"flow check src/","test":"tape test.js","prepublish":"npm run build"},"repository":{"type":"git","url":"https://github.com/joshwnj/style-attr"},"keywords":["style","parse","stringify"],"author":{"name":"joshwnj"},"license":"MIT","bugs":{"url":"https://github.com/joshwnj/style-attr/issues"},"files":["lib"],"homepage":"https://github.com/joshwnj/style-attr","devDependencies":{"babel-cli":"^6.5.1","babel-plugin-transform-flow-strip-types":"^6.5.0","flow-bin":"^0.21.0","tape":"^3.0.2"},"gitHead":"efcc7498e44b43f861c36b035348b39bc3fbcd01","_id":"style-attr@1.1.0","_shasum":"e3c598dbfdf353830f55f77a64426e5097794d6a","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"joshwnj","email":"josh@x-team.com"},"maintainers":[{"name":"joshwnj","email":"josh@x-team.com"}],"dist":{"shasum":"e3c598dbfdf353830f55f77a64426e5097794d6a","tarball":"https://registry.npmjs.org/style-attr/-/style-attr-1.1.0.tgz","integrity":"sha512-bJqIJmqb2dvm5oso1o8hsivARLnJ0LTbI+lhki+WY7TPxXqX5ueo/xbPzEkDjUJe+nw5JgNnvAkk9icp3z2c1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDEO3hRlNa4rPeswduVN7zFG25eutEUYznFwHfvZiEYQAiEA2FEBRQludr9ROIo4ahywgXhVV9OKgF3gleIk41+kuNM="}]},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/style-attr-1.1.0.tgz_1456176230859_0.470115760108456"}},"1.2.0":{"name":"style-attr","version":"1.2.0","description":"Parse and stringify style attributes","main":"lib/index.js","scripts":{"build":"babel --out-dir lib src","flow":"flow check src/","test":"npm run flow && tape test.js","prepublish":"npm run build"},"repository":{"type":"git","url":"https://github.com/joshwnj/style-attr"},"keywords":["style","parse","stringify"],"author":{"name":"joshwnj"},"license":"MIT","bugs":{"url":"https://github.com/joshwnj/style-attr/issues"},"files":["lib"],"homepage":"https://github.com/joshwnj/style-attr","devDependencies":{"babel-cli":"^6.5.1","babel-plugin-transform-flow-strip-types":"^6.5.0","flow-bin":"^0.27.0","tape":"^4.5.1"},"gitHead":"6b57307df7a584f90f99a41223b8a3581629fa83","_id":"style-attr@1.2.0","_shasum":"a54ce15210325dce7f3831daa2b8236878919f1f","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"joshwnj","email":"josh@x-team.com"},"maintainers":[{"name":"joshwnj","email":"josh@x-team.com"}],"dist":{"shasum":"a54ce15210325dce7f3831daa2b8236878919f1f","tarball":"https://registry.npmjs.org/style-attr/-/style-attr-1.2.0.tgz","integrity":"sha512-Hc1OIT8nHHYSfNO6C07+KT/r2/PVPvu6guGjbkpfm3dTUQrPFlpNLU/qM6Tf/j98gYkNCvl50w6wYrJzFMx/kA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHF0caMKiqrPCJ/p5oXCPQrVsryvHjMWWdVdjZmRFUEZAiB0brViXNvYOVs5CPXoZhBo2DGajQxRZ73lleObeoNC9g=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/style-attr-1.2.0.tgz_1467269503788_0.6446900863666087"}},"1.3.0":{"name":"style-attr","version":"1.3.0","description":"Parse and stringify style attributes","main":"lib/index.js","scripts":{"build":"babel --out-dir lib src","flow":"flow check src/","test":"npm run flow && tape test.js","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/joshwnj/style-attr.git"},"keywords":["style","parse","stringify"],"author":{"name":"joshwnj"},"license":"MIT","bugs":{"url":"https://github.com/joshwnj/style-attr/issues"},"files":["lib"],"homepage":"https://github.com/joshwnj/style-attr","devDependencies":{"babel-cli":"^6.5.1","babel-plugin-transform-flow-strip-types":"^6.5.0","flow-bin":"^0.37.0","tape":"^4.5.1"},"gitHead":"d48c19dcf73686aefc9b4b2ed34d8c2aa0ec3943","_id":"style-attr@1.3.0","_npmVersion":"5.0.0","_nodeVersion":"6.2.1","_npmUser":{"name":"joshwnj","email":"josh@x-team.com"},"maintainers":[{"name":"joshwnj","email":"josh@x-team.com"}],"dist":{"integrity":"sha512-srFr54gzEZoy73WgYfnbxCAtNCzF0Hn5RGzK7gi/0G6ttZd9v3WZFGY4ed5ABr43dbGjPNr4T46geUxxUP9i6w==","shasum":"2c1997a4865e25d7dbcb216be0ad715f005b9b17","tarball":"https://registry.npmjs.org/style-attr/-/style-attr-1.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEQ0tD7M7pPlBsr0ohTGuvFtBKdnx6EY4Cx03cxZZfbzAiAhHH8ke9XiituEH1vOd1Q2lvw/av8cq0tagaDpNOCPMA=="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/style-attr-1.3.0.tgz_1496365257994_0.4747472933959216"}}},"readme":"style-attr\n====\n\nVery simple parsing and stringifying of style attributes.\n\n[![Build Status](https://secure.travis-ci.org/joshwnj/style-attr.png)](http://travis-ci.org/joshwnj/style-attr)\n\n\n`parse`\n----\n\nConvert a style attribute string to an object.\n\n- inputs:\n  - string (eg. anything you might see in a style attribute)\n  - [options](#opts-object) (optional)\n\n- return: object\n\n\n`stringify`\n----\n\nConvert an object into an attribute string\n\n- input: object\n- return: string\n\n\n`normalize`\n----\n\nNormalize an attribute string (eg. collapse duplicates)\n\n- inputs:\n  - string\n  - [options](#opts-object) (optional)\n\n- return: string\n\nArgs\n----\n\n### `options`\n\n<a name=\"opts-object\"></a>\n\nOptions for `parse()` and `normalize` follow the same format:\n\n```\n{\n  preserveNumbers: boolean // (default: false)\n}\n```\n\nSetting `preserveNumbers` to `true` recognises number values and converts them to a Number.\n\n\nLicense\n----\n\nMIT\n","maintainers":[{"name":"joshwnj","email":"josh@x-team.com"}],"time":{"modified":"2022-06-27T01:28:33.952Z","created":"2014-11-10T05:21:37.188Z","1.0.0":"2014-11-10T05:21:37.188Z","1.0.1":"2014-11-13T03:28:34.017Z","1.0.2":"2016-02-16T19:44:20.470Z","1.1.0":"2016-02-22T21:23:55.590Z","1.2.0":"2016-06-30T06:51:44.319Z","1.3.0":"2017-06-02T01:00:58.151Z"},"homepage":"https://github.com/joshwnj/style-attr","keywords":["style","parse","stringify"],"repository":{"type":"git","url":"git+https://github.com/joshwnj/style-attr.git"},"author":{"name":"joshwnj"},"bugs":{"url":"https://github.com/joshwnj/style-attr/issues"},"license":"MIT","readmeFilename":"README.md","users":{"zuojiang":true}}