{
  "_id": "rgba-regex",
  "maintainers": [
    {
      "email": "johnotander@gmail.com",
      "name": "johno"
    },
    {
      "email": "mameto2011@gmail.com",
      "name": "tunnckocore"
    }
  ],
  "keywords": [
    "css",
    "regex",
    "regexp",
    "regexps",
    "rgba",
    "color",
    "regular",
    "expression"
  ],
  "dist-tags": {
    "latest": "1.0.0"
  },
  "author": {
    "name": "John Otander"
  },
  "_rev": "5-6be45e967cd44b49901a85046c5eb089",
  "description": "Regex for matching RGBA color strings.",
  "readme": "# rgba-regex\n\n[![Build Status](https://secure.travis-ci.org/regexps/rgba-regex.png?branch=master)](https://travis-ci.org/regexps/rgba-regex)\n\nRegex for matching RGBA color strings.\n\n## Installation\n\n```bash\nnpm install --save rgba-regex\n```\n\n## Usage\n\n```javascript\nvar rgbaRegex = require('rgba-regex');\n\nrgbaRegex({ exact: true }).test('rgba(12, 34, 56, .8)');  // => true\nrgbaRegex({ exact: true }).test('unicorns');         // -> false\nrgbaRegex({ exact: true }).test('rgba(,,,)');          // => false\n\nrgbaRegex().exec('rgba(12, 34, 56, .8)');\n// => [\n//  '12',\n//  '34',\n//  '56',\n//  '.8'\n//  index: 0,\n//  input: 'rgba(12,34,56, .8)'\n// ]\n\n'rgba(12, 34, 56, .8) cats and dogs'.match(rgbaRegex());\n// = ['rgba(12, 34, 56, .8)']\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/johnotander/rgba-regex.git"
  },
  "bugs": {
    "url": "https://github.com/johnotander/rgba-regex/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "name": "rgba-regex",
      "description": "Regex for matching RGBA color strings.",
      "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/johnotander/rgba-regex.git"
      },
      "keywords": [
        "css",
        "regex",
        "regexp",
        "regexps",
        "rgba",
        "color",
        "regular",
        "expression"
      ],
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/johnotander/rgba-regex/issues"
      },
      "homepage": "https://github.com/johnotander/rgba-regex",
      "dependencies": {},
      "devDependencies": {
        "mocha": "*"
      },
      "gitHead": "9dccb73d878c29830cddb1013c38f81f4cc0bed9",
      "_id": "rgba-regex@1.0.0",
      "_shasum": "43374e2e2ca0968b0ef1523460b7d730ff22eeb3",
      "_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": "43374e2e2ca0968b0ef1523460b7d730ff22eeb3",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/rgba-regex/-/rgba-regex-1.0.0.tgz",
        "integrity": "sha512-zgn5OjNQXLUTdq8m17KdaicF6w89TZs8ZU8y0AYENIU6wG8GG6LLm0yLSiPY8DmaYmHdgRW8rnApjoT0fQRfMg==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCICqkVbHmIokip1JsrAojP+QOLk2+nepppyn0zIcJ2Vm1AiBfk8QQtJo4PSiIUFZgi4OQf5O6sWg8wAAmlt1Ju2iVkA=="
          }
        ]
      }
    }
  },
  "name": "rgba-regex",
  "time": {
    "modified": "2026-05-24T07:56:58.220Z",
    "created": "2015-02-02T04:42:23.410Z",
    "1.0.0": "2015-02-02T04:42:23.410Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/johnotander/rgba-regex"
}