{"_id":"import-regex","_rev":"98795","name":"import-regex","description":"Regular expression for matching CSS @imports","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"kevva","email":""}],"time":{"modified":"2021-06-03T10:33:23.000Z","created":"2014-08-31T14:43:09.566Z","1.1.0":"2014-11-26T16:01:51.416Z","1.0.1":"2014-08-31T15:22:36.752Z","1.0.0":"2014-08-31T14:43:09.566Z"},"users":{},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"repository":{"type":"git","url":"https://github.com/kevva/import-regex"},"versions":{"1.1.0":{"name":"import-regex","version":"1.1.0","description":"Regular expression for matching CSS @imports","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/import-regex"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["css","import","regex"],"devDependencies":{"ava":"^0.0.4"},"gitHead":"8029c5fe9fd1200189675d8c317fbd3ba135bb0f","bugs":{"url":"https://github.com/kevva/import-regex/issues"},"homepage":"https://github.com/kevva/import-regex","_id":"import-regex@1.1.0","_shasum":"a55c52e4c705c765ca210e9242a06bbcc8aa7f66","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.32","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"a55c52e4c705c765ca210e9242a06bbcc8aa7f66","size":1596,"noattachment":false,"key":"/import-regex/-/import-regex-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-regex/download/import-regex-1.1.0.tgz"},"directories":{},"publish_time":1417017711416,"_cnpm_publish_time":1417017711416,"_hasShrinkwrap":false},"1.0.1":{"name":"import-regex","version":"1.0.1","description":"Regular expression for matching CSS @imports","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/import-regex"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["css","import","regex"],"devDependencies":{"ava":"0.0.4"},"gitHead":"5b9777b24ea0d1862e267566397b7be51d7a766a","bugs":{"url":"https://github.com/kevva/import-regex/issues"},"homepage":"https://github.com/kevva/import-regex","_id":"import-regex@1.0.1","_shasum":"b50230941f418af1da792c40f2298e427c9b18b0","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"b50230941f418af1da792c40f2298e427c9b18b0","size":839,"noattachment":false,"key":"/import-regex/-/import-regex-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-regex/download/import-regex-1.0.1.tgz"},"directories":{},"publish_time":1409498556752,"_cnpm_publish_time":1409498556752,"_hasShrinkwrap":false},"1.0.0":{"name":"import-regex","version":"1.0.0","description":"Regular expression for matching CSS @imports","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/import-regex"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["css","import","regex"],"devDependencies":{"ava":"0.0.4"},"gitHead":"f19b2ca9ed8981a98fdac50fdbf8e8d3162e979a","bugs":{"url":"https://github.com/kevva/import-regex/issues"},"homepage":"https://github.com/kevva/import-regex","_id":"import-regex@1.0.0","_shasum":"ac1f5d1b5776c945eb5b9451a4817225a75780f8","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"ac1f5d1b5776c945eb5b9451a4817225a75780f8","size":845,"noattachment":false,"key":"/import-regex/-/import-regex-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/import-regex/download/import-regex-1.0.0.tgz"},"directories":{},"publish_time":1409496189566,"_cnpm_publish_time":1409496189566,"_hasShrinkwrap":false}},"readme":"# import-regex [![Build Status](https://travis-ci.org/kevva/import-regex.svg?branch=master)](https://travis-ci.org/kevva/import-regex)\n\n> Regular expression for matching CSS @imports\n\n## Install\n\n```sh\n$ npm install --save import-regex\n```\n\n## Usage\n\n```js\nvar importRegex = require('import-regex');\n\nimportRegex().test('@import url(\\'foo.css\\'); foo bar');\n//=> true\n\nimportRegex({ exact: true }).test('@import url(\\'foo.css\\'); foo bar');\n//=> false\n\nimportRegex({ exact: true }).test('@import url(\\'foo.css\\');');\n//=> true\n\n'foo @import url(\\'foo.css\\'); bar @import url(\\'bar.css\\');'.match(importRegex());\n//=> ['@import url('foo.css');', '@import url('bar.css');']\n```\n\n## License\n\nMIT © [Kevin Mårtensson](http://kevinmartensson.com)\n","_attachments":{},"homepage":"https://github.com/kevva/import-regex","bugs":{"url":"https://github.com/kevva/import-regex/issues"},"license":"MIT"}