{ "_args": [ [ { "raw": "astral-regex@^1.0.0", "scope": null, "escapedName": "astral-regex", "name": "astral-regex", "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/string-length" ] ], "_from": "astral-regex@>=1.0.0 <2.0.0", "_id": "astral-regex@1.0.0", "_inCache": true, "_location": "/astral-regex", "_nodeVersion": "8.2.1", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/astral-regex-1.0.0.tgz_1500646618230_0.7161293996032327" }, "_npmUser": { "name": "kevva", "email": "kevinmartensson@gmail.com" }, "_npmVersion": "5.3.0", "_phantomChildren": {}, "_requested": { "raw": "astral-regex@^1.0.0", "scope": null, "escapedName": "astral-regex", "name": "astral-regex", "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "_requiredBy": [ "/string-length" ], "_resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", "_shasum": "6c8c3fb827dd43ee3918f27b82782ab7658a6fd9", "_shrinkwrap": null, "_spec": "astral-regex@^1.0.0", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/string-length", "author": { "name": "Kevin Mårtensson", "email": "kevinmartensson@gmail.com", "url": "github.com/kevva" }, "bugs": { "url": "https://github.com/kevva/astral-regex/issues" }, "dependencies": {}, "description": "Regular expression for matching astral symbols", "devDependencies": { "ava": "*", "xo": "*" }, "directories": {}, "dist": { "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", "shasum": "6c8c3fb827dd43ee3918f27b82782ab7658a6fd9", "tarball": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz" }, "engines": { "node": ">=4" }, "files": [ "index.js" ], "gitHead": "20d5f406d37af3697145eb415355a89fdd4a2279", "homepage": "https://github.com/kevva/astral-regex#readme", "keywords": [ "astral", "emoji", "regex", "surrogate" ], "license": "MIT", "maintainers": [ { "name": "kevva", "email": "kevinmartensson@gmail.com" } ], "name": "astral-regex", "optionalDependencies": {}, "readme": "# astral-regex [![Build Status](https://travis-ci.org/kevva/astral-regex.svg?branch=master)](https://travis-ci.org/kevva/astral-regex)\n\n> Regular expression for matching astral symbols\n\n\n## Install\n\n```\n$ npm install astral-regex\n```\n\n\n## Usage\n\n```js\nconst astralRegex = require('astral-regex');\n\nastralRegex({exact: true}).test('');\n//=> true\n```\n\n\n## API\n\n### astralRegex([options])\n\nReturns a `RegExp` for matching astral symbols.\n\n#### options\n\nType: `Object`\n\n##### exact\n\nType: `boolean`
\nDefault: `false` *(Matches any astral symbols in a string)*\n\nOnly match an exact string. Useful with `RegExp#test()` to check if a string is a astral symbol.\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n", "readmeFilename": "readme.md", "repository": { "type": "git", "url": "git+https://github.com/kevva/astral-regex.git" }, "scripts": { "test": "xo && ava" }, "version": "1.0.0" }