{
  "_id": "hsl-regex",
  "maintainers": [
    {
      "name": "johno",
      "email": "johnotander@gmail.com"
    }
  ],
  "keywords": [
    "hsl",
    "regex",
    "regexp",
    "color",
    "css"
  ],
  "dist-tags": {
    "latest": "1.0.0"
  },
  "author": {
    "name": "John Otander"
  },
  "_rev": "6-3ea04f6fb099276d778b0b0955f309cb",
  "description": "Regex for matching HSL colors.",
  "readme": "# hsl-regex\n\n[![Build Status](https://secure.travis-ci.org/regexps/hsl-regex.png?branch=master)](https://travis-ci.org/regexps/hsl-regex)\n\nRegex for matching HSL colors.\n\n## Installation\n\n```bash\nnpm install --save hsl-regex\n```\n\n## Usage\n\n```javascript\nvar hslRegex = require('hsl-regex');\n\nhslRegex({ exact: true }).test('hsl(123, 45%, 67%)');  // => true\nhslRegex({ exact: true }).test('foo bar');  // => false\n\nhslRegex({ exact: true }).exec('hsl(1, 1.111%, 1.1111%)');\n// => [\n//  'hsl(1, 1.111%, 1.1111%)',\n//  '1',\n//  '1.111%',\n//  '1.1111%',\n//  index: 0,\n//  input: 'hsl(1, 1.111%, 1.1111%)'\n// ]\n\n'hsl(123, 45%, 67%) cats and dogs'.match(hslRegex());\n// = ['hsl(123, 45%, 67%)']\n```\n\n## License\n\nMIT\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nCrafted with <3 by John Otander ([@4lpine](https://twitter.com/4lpine)).\n\n***\n\n> This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).\n",
  "repository": {
    "type": "git",
    "url": "https://github.com/regexps/hsl-regex.git"
  },
  "bugs": {
    "url": "https://github.com/regexps/hsl-regex/issues"
  },
  "license": "MIT",
  "versions": {
    "0.0.1": {
      "name": "hsl-regex",
      "description": "Regex for matching HSL colors.",
      "author": {
        "name": "John Otander"
      },
      "version": "0.0.1",
      "main": "index.js",
      "directories": {
        "test": "test"
      },
      "scripts": {
        "test": "mocha test"
      },
      "repository": {
        "type": "git",
        "url": "https://github.com/regexps/hsl-regex.git"
      },
      "keywords": [],
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/regexps/hsl-regex/issues"
      },
      "homepage": "https://github.com/regexps/hsl-regex",
      "dependencies": {},
      "devDependencies": {
        "mocha": "*"
      },
      "gitHead": "f5afdad8bf4884311c703cb19aa38aef2f615710",
      "_id": "hsl-regex@0.0.1",
      "_shasum": "caeff83efa2af9162ec7fd92425234908b061e78",
      "_from": ".",
      "_npmVersion": "2.1.18",
      "_nodeVersion": "0.10.35",
      "_npmUser": {
        "name": "johno",
        "email": "johnotander@gmail.com"
      },
      "maintainers": [
        {
          "name": "johno",
          "email": "johnotander@gmail.com"
        }
      ],
      "dist": {
        "shasum": "caeff83efa2af9162ec7fd92425234908b061e78",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/hsl-regex/-/hsl-regex-0.0.1.tgz",
        "integrity": "sha512-yDSZMo81Wx9/Cft8ASuMTubgHx4okXF3vhNRiH/dKrjjYDbc1BxWMXJAjySzJTNLGAYso6Nylo7HrEYXralClg==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQCfP4sNsp7KOz63TfI/CamIWxpk+8h5n1809g0JZcCOqgIgPlMcxUSDuAmibbQcDpPPqYVb3edYyFwemiJZZs5FW7w="
          }
        ]
      }
    },
    "1.0.0": {
      "name": "hsl-regex",
      "description": "Regex for matching HSL colors.",
      "author": {
        "name": "John Otander"
      },
      "version": "1.0.0",
      "main": "index.js",
      "directories": {
        "test": "test"
      },
      "scripts": {
        "test": "mocha test"
      },
      "repository": {
        "type": "git",
        "url": "https://github.com/regexps/hsl-regex.git"
      },
      "keywords": [
        "hsl",
        "regex",
        "regexp",
        "color",
        "css"
      ],
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/regexps/hsl-regex/issues"
      },
      "homepage": "https://github.com/regexps/hsl-regex",
      "dependencies": {},
      "devDependencies": {
        "mocha": "*"
      },
      "gitHead": "5613f31263cc11a8deb9311fb50c791ba1bf835c",
      "_id": "hsl-regex@1.0.0",
      "_shasum": "d49330c789ed819e276a4c0d272dffa30b18fe6e",
      "_from": ".",
      "_npmVersion": "2.1.18",
      "_nodeVersion": "0.10.35",
      "_npmUser": {
        "name": "johno",
        "email": "johnotander@gmail.com"
      },
      "maintainers": [
        {
          "name": "johno",
          "email": "johnotander@gmail.com"
        }
      ],
      "dist": {
        "shasum": "d49330c789ed819e276a4c0d272dffa30b18fe6e",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/hsl-regex/-/hsl-regex-1.0.0.tgz",
        "integrity": "sha512-M5ezZw4LzXbBKMruP+BNANf0k+19hDQMgpzBIYnya//Al+fjNct9Wf3b1WedLqdEs2hKBvxq/jh+DsHJLj0F9A==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIBayyPM39j3/e/egd6HHQDC5leUgtgWOjQ27z99JwGmOAiAZhvACjVxJe5G4FcOocezi43+UpA09P4Yzk67Agjxh6Q=="
          }
        ]
      }
    }
  },
  "name": "hsl-regex",
  "time": {
    "modified": "2026-05-24T07:56:30.364Z",
    "created": "2015-01-30T23:03:15.425Z",
    "0.0.1": "2015-01-30T23:03:15.425Z",
    "1.0.0": "2015-01-30T23:49:33.498Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/regexps/hsl-regex"
}