{
  "_id": "highlight-words-core",
  "maintainers": [
    {
      "name": "ryanflorence",
      "email": "rpflorence@gmail.com"
    },
    {
      "name": "brianvaughn",
      "email": "briandavidvaughn@gmail.com"
    },
    {
      "name": "clauderic",
      "email": "clauderic.d@gmail.com"
    }
  ],
  "keywords": [
    "highlighter",
    "highlight",
    "text",
    "words",
    "matches",
    "substring",
    "occurrences",
    "search"
  ],
  "dist-tags": {
    "latest": "1.2.3"
  },
  "author": {
    "name": "Brian Vaughn",
    "email": "brian.david.vaughn@gmail.com"
  },
  "_rev": "18-7a35e9e829c51d3dc622bb1fd71fb064",
  "description": "Utility functions shared by react-highlight-words and react-native-highlight-words",
  "readme": "Utility functions shared by [`react-highlight-words`](https://github.com/bvaughn/react-highlight-words) and [`react-native-highlight-words`](https://github.com/clauderic/react-native-highlight-words).\n\n---\n### 🎉 [Become a sponsor](https://github.com/sponsors/bvaughn/) or ☕ [Buy me a coffee](http://givebrian.coffee/)\n---\n\n## API\n\nThe primary API for this package is a function exported as `findAll`. This method searches a string of text for a set of search terms and returns an array of \"chunks\" that describe the matches found.\n\nEach \"chunk\" is an object consisting of a pair of indices (`chunk.start` and `chunk.end`) and a boolean specfifying whether the chunk is a match (`chunk.highlight`). For example:\n\n```js\nimport { findAll } from \"highlight-words-core\";\n\nconst textToHighlight = \"This is some text to highlight.\";\nconst searchWords = [\"This\", \"i\"];\n\nconst chunks = findAll({\n  searchWords,\n  textToHighlight\n});\n\nconst highlightedText = chunks\n  .map(chunk => {\n    const { end, highlight, start } = chunk;\n    const text = textToHighlight.substr(start, end - start);\n    if (highlight) {\n      return `<mark>${text}</mark>`;\n    } else {\n      return text;\n    }\n  })\n  .join(\"\");\n```\n\n[Run this example on Code Sandbox.](https://codesandbox.io/s/ykwrzrl6wx)\n\n### `findAll`\n\nThe `findAll` function accepts several parameters, although only the `searchWords` array and `textToHighlight` string are required.\n\n| Parameter | Required? | Type | Description |\n| --- | :---: | --- | --- |\n| autoEscape |  | `boolean` | Escape special regular expression characters |\n| caseSensitive |  | `boolean` | Search should be case sensitive |\n| findChunks |  | `Function` | Custom find function (advanced) |\n| sanitize |  | `Function` | Custom sanitize function (advanced) |\n| searchWords | ✅ | `Array<string>` | Array of words to search for |\n| textToHighlight | ✅ | `string` | Text to search and highlight |\n\n\n## License\nMIT License - fork, modify and use however you want.\n",
  "repository": {
    "type": "git",
    "url": "github.com/bvaughn/highlight-words-core.git"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "name": "highlight-words-core",
      "version": "1.0.0",
      "keywords": [
        "highlighter",
        "highlight",
        "text",
        "words",
        "matches",
        "substring",
        "occurrences",
        "search"
      ],
      "author": {
        "name": "Brian Vaughn",
        "email": "brian.david.vaughn@gmail.com"
      },
      "license": "MIT",
      "_id": "highlight-words-core@1.0.0",
      "maintainers": [
        {
          "name": "brianvaughn",
          "email": "briandavidvaughn@gmail.com"
        }
      ],
      "dist": {
        "shasum": "508ceccf1c7a511503b229acfc968340998a83e0",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/highlight-words-core/-/highlight-words-core-1.0.0.tgz",
        "integrity": "sha512-FeJ0W78Tlt4WYcAol+YG5VisHRcZk79vFZaXJVLi8i6pwNwMUOnCy+Grq6k5f3V2xPSNqfV+Km7NrZC1UX3cuA==",
        "signatures": [
          {
            "sig": "MEUCIQDnnRuVu3Be90pRlGcP4miOerEY3Ck4zZwn/f2oeJ8zCQIgRNyFGlqcvk3LhpUKb6n3ijBZfOaA8//S02ya8sI/Vqo=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "dist/index.js",
      "_from": ".",
      "_shasum": "508ceccf1c7a511503b229acfc968340998a83e0",
      "gitHead": "dc57e74f22ac58a8d901f2c17351ab86ef24338f",
      "scripts": {
        "lint": "standard",
        "test": "mocha --compilers js:babel-register 'src/**/*.test.js'",
        "build": "webpack --config webpack.config.dist.js --bail",
        "prebuild": "rimraf dist"
      },
      "_npmUser": {
        "name": "brianvaughn",
        "email": "briandavidvaughn@gmail.com"
      },
      "standard": {
        "global": [
          "afterAll",
          "afterEach",
          "beforeAll",
          "beforeEach",
          "describe",
          "it"
        ],
        "ignore": [
          "build",
          "dist",
          "node_modules"
        ],
        "parser": "babel-eslint"
      },
      "repository": {
        "url": "github.com/bvaughn/highlight-words-core.git",
        "type": "git"
      },
      "_npmVersion": "3.10.3",
      "description": "Utility functions shared by react-highlight-words and react-native-highlight-words",
      "directories": {},
      "_nodeVersion": "6.5.0",
      "dependencies": {
        "babel-runtime": "^6.11.6"
      },
      "devDependencies": {
        "mocha": "^3.0.2",
        "watch": "^0.18.0",
        "rimraf": "^2.4.3",
        "webpack": "^1.9.6",
        "standard": "^7.0.1",
        "babel-cli": "6.8.0",
        "cross-env": "^1.0.7",
        "expect.js": "^0.3.1",
        "babel-core": "^6.5.1",
        "babel-eslint": "^6.0.4",
        "babel-loader": "^6.2.3",
        "babel-polyfill": "^6.5.0",
        "babel-preset-es2015": "^6.14.0",
        "babel-preset-stage-1": "^6.5.0",
        "babel-plugin-typecheck": "^3.9.0",
        "babel-preset-es2015-rollup": "^1.1.1",
        "babel-plugin-transform-runtime": "^6.15.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/highlight-words-core-1.0.0.tgz_1474508589640_0.5033998547587544",
        "host": "packages-16-east.internal.npmjs.com"
      }
    },
    "1.0.1": {
      "name": "highlight-words-core",
      "version": "1.0.1",
      "keywords": [
        "highlighter",
        "highlight",
        "text",
        "words",
        "matches",
        "substring",
        "occurrences",
        "search"
      ],
      "author": {
        "name": "Brian Vaughn",
        "email": "brian.david.vaughn@gmail.com"
      },
      "license": "MIT",
      "_id": "highlight-words-core@1.0.1",
      "maintainers": [
        {
          "name": "brianvaughn",
          "email": "briandavidvaughn@gmail.com"
        }
      ],
      "dist": {
        "shasum": "cdf0a600a25c72c95d65a86fcd6924ed7e459c05",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/highlight-words-core/-/highlight-words-core-1.0.1.tgz",
        "integrity": "sha512-bEZGP5lgI5WOOr4D8cbRmbhkxdija/n2cfR7m2Ln3R66Z2AIIP2g8fbVLN040IoIQnTsnoTSh88E1q73MwFiEQ==",
        "signatures": [
          {
            "sig": "MEUCIQCEF2hfaVZMOluTB7Sqjr51d8Z6OOM3btHdeP1R0NWEOwIgZcfoxc7gDpsTmj52d0u1C7GDGcYQyznJ1YBiSl5Ls1A=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "dist/index.js",
      "_from": ".",
      "_shasum": "cdf0a600a25c72c95d65a86fcd6924ed7e459c05",
      "gitHead": "54893283d79ac80bf4c7cff3b49a8d7eb706d71b",
      "scripts": {
        "lint": "standard",
        "test": "mocha --compilers js:babel-register 'src/**/*.test.js'",
        "build": "webpack --config webpack.config.dist.js --bail",
        "prebuild": "rimraf dist"
      },
      "_npmUser": {
        "name": "brianvaughn",
        "email": "briandavidvaughn@gmail.com"
      },
      "standard": {
        "global": [
          "afterAll",
          "afterEach",
          "beforeAll",
          "beforeEach",
          "describe",
          "it"
        ],
        "ignore": [
          "build",
          "dist",
          "node_modules"
        ],
        "parser": "babel-eslint"
      },
      "repository": {
        "url": "github.com/bvaughn/highlight-words-core.git",
        "type": "git"
      },
      "_npmVersion": "3.10.3",
      "description": "Utility functions shared by react-highlight-words and react-native-highlight-words",
      "directories": {},
      "_nodeVersion": "6.5.0",
      "dependencies": {
        "babel-runtime": "^6.11.6"
      },
      "devDependencies": {
        "mocha": "^3.0.2",
        "watch": "^0.18.0",
        "rimraf": "^2.4.3",
        "webpack": "^1.9.6",
        "standard": "^7.0.1",
        "babel-cli": "6.8.0",
        "cross-env": "^1.0.7",
        "expect.js": "^0.3.1",
        "babel-core": "^6.5.1",
        "babel-eslint": "^6.0.4",
        "babel-loader": "^6.2.3",
        "babel-polyfill": "^6.5.0",
        "babel-preset-es2015": "^6.14.0",
        "babel-preset-stage-1": "^6.5.0",
        "babel-plugin-typecheck": "^3.9.0",
        "babel-preset-es2015-rollup": "^1.1.1",
        "babel-plugin-transform-runtime": "^6.15.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/highlight-words-core-1.0.1.tgz_1474508924680_0.5149156216066331",
        "host": "packages-16-east.internal.npmjs.com"
      }
    },
    "1.0.2": {
      "name": "highlight-words-core",
      "version": "1.0.2",
      "keywords": [
        "highlighter",
        "highlight",
        "text",
        "words",
        "matches",
        "substring",
        "occurrences",
        "search"
      ],
      "author": {
        "name": "Brian Vaughn",
        "email": "brian.david.vaughn@gmail.com"
      },
      "license": "MIT",
      "_id": "highlight-words-core@1.0.2",
      "maintainers": [
        {
          "name": "brianvaughn",
          "email": "briandavidvaughn@gmail.com"
        }
      ],
      "dist": {
        "shasum": "db2eaa52c8afc3056478a7c6f51858c5481e8ed6",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/highlight-words-core/-/highlight-words-core-1.0.2.tgz",
        "integrity": "sha512-c688z5cniEnCwSxc3x7lVVN17tIpNcvqy2y1UqanakgrQfxCUz/qc5RalSiSaD/rfpyZOR80gPiAfKJabb+O3g==",
        "signatures": [
          {
            "sig": "MEQCICe/pXOmOZ+bcWqYLd0iIrp1rWSsDtLaQtmkr+2myLXjAiBbSV3q6thRh8t4/lBgEFQydWRvAXEf990iKe1E/b87gg==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "dist/index.js",
      "_from": ".",
      "_shasum": "db2eaa52c8afc3056478a7c6f51858c5481e8ed6",
      "gitHead": "8f62255065df91242062ed13f1040c90de4702f9",
      "scripts": {
        "lint": "standard",
        "test": "mocha --compilers js:babel-register 'src/**/*.test.js'",
        "build": "webpack --config webpack.config.dist.js --bail",
        "prebuild": "rimraf dist",
        "prepublish": "npm run build"
      },
      "_npmUser": {
        "name": "brianvaughn",
        "email": "briandavidvaughn@gmail.com"
      },
      "standard": {
        "global": [
          "afterAll",
          "afterEach",
          "beforeAll",
          "beforeEach",
          "describe",
          "it"
        ],
        "ignore": [
          "build",
          "dist",
          "node_modules"
        ],
        "parser": "babel-eslint"
      },
      "repository": {
        "url": "github.com/bvaughn/highlight-words-core.git",
        "type": "git"
      },
      "_npmVersion": "3.10.3",
      "description": "Utility functions shared by react-highlight-words and react-native-highlight-words",
      "directories": {},
      "_nodeVersion": "6.5.0",
      "dependencies": {
        "babel-runtime": "^6.11.6"
      },
      "devDependencies": {
        "mocha": "^3.0.2",
        "watch": "^0.18.0",
        "rimraf": "^2.4.3",
        "webpack": "^1.9.6",
        "latinize": "^0.3.0",
        "standard": "^7.0.1",
        "babel-cli": "6.8.0",
        "cross-env": "^1.0.7",
        "expect.js": "^0.3.1",
        "babel-core": "^6.5.1",
        "babel-eslint": "^6.0.4",
        "babel-loader": "^6.2.3",
        "babel-polyfill": "^6.5.0",
        "babel-preset-es2015": "^6.14.0",
        "babel-preset-stage-1": "^6.5.0",
        "babel-plugin-typecheck": "^3.9.0",
        "babel-preset-es2015-rollup": "^1.1.1",
        "babel-plugin-transform-runtime": "^6.15.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/highlight-words-core-1.0.2.tgz_1474509491186_0.8488617793191224",
        "host": "packages-12-west.internal.npmjs.com"
      }
    },
    "1.0.3": {
      "name": "highlight-words-core",
      "version": "1.0.3",
      "keywords": [
        "highlighter",
        "highlight",
        "text",
        "words",
        "matches",
        "substring",
        "occurrences",
        "search"
      ],
      "author": {
        "name": "Brian Vaughn",
        "email": "brian.david.vaughn@gmail.com"
      },
      "license": "MIT",
      "_id": "highlight-words-core@1.0.3",
      "maintainers": [
        {
          "name": "brianvaughn",
          "email": "briandavidvaughn@gmail.com"
        },
        {
          "name": "clauderic",
          "email": "clauderic.d@gmail.com"
        }
      ],
      "dist": {
        "shasum": "0886d0e757c8ca3928cbc873042bd544f8f6b2e5",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/highlight-words-core/-/highlight-words-core-1.0.3.tgz",
        "integrity": "sha512-EGfP0i9OdMN85sYo4khA7ewBrdReHjgMS/75dj8ggw4VJq1AdSSxjsstKThRKG6Ang1arX91YZ2TpmsOoSixEA==",
        "signatures": [
          {
            "sig": "MEUCIGUDzUIKg77kAGMrEx1zVGCflQLs7QUeu5OTsXzWlZq8AiEAx7yzLrnKmu1Esq1g6gYZhdoYW980Tcisnv4re7krDEY=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "dist/index.js",
      "_from": ".",
      "_shasum": "0886d0e757c8ca3928cbc873042bd544f8f6b2e5",
      "gitHead": "003b1511847544f8aa222e06cd9ef9165702ffd0",
      "scripts": {
        "lint": "standard",
        "test": "mocha --compilers js:babel-register 'src/**/*.test.js'",
        "build": "webpack --config webpack.config.dist.js --bail",
        "prebuild": "rimraf dist",
        "prepublish": "npm run build"
      },
      "_npmUser": {
        "name": "clauderic",
        "email": "clauderic.d@gmail.com"
      },
      "standard": {
        "global": [
          "afterAll",
          "afterEach",
          "beforeAll",
          "beforeEach",
          "describe",
          "it"
        ],
        "ignore": [
          "build",
          "dist",
          "node_modules"
        ],
        "parser": "babel-eslint"
      },
      "repository": {
        "url": "github.com/bvaughn/highlight-words-core.git",
        "type": "git"
      },
      "_npmVersion": "2.14.7",
      "description": "Utility functions shared by react-highlight-words and react-native-highlight-words",
      "directories": {},
      "_nodeVersion": "4.2.1",
      "dependencies": {
        "babel-runtime": "^6.11.6"
      },
      "devDependencies": {
        "mocha": "^3.0.2",
        "watch": "^0.18.0",
        "rimraf": "^2.4.3",
        "webpack": "^1.9.6",
        "latinize": "^0.3.0",
        "standard": "^7.0.1",
        "babel-cli": "6.8.0",
        "cross-env": "^1.0.7",
        "expect.js": "^0.3.1",
        "babel-core": "^6.5.1",
        "babel-eslint": "^6.0.4",
        "babel-loader": "^6.2.3",
        "babel-polyfill": "^6.5.0",
        "babel-preset-es2015": "^6.14.0",
        "babel-preset-stage-1": "^6.5.0",
        "babel-plugin-typecheck": "^3.9.0",
        "babel-preset-es2015-rollup": "^1.1.1",
        "babel-plugin-transform-runtime": "^6.15.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/highlight-words-core-1.0.3.tgz_1474512173009_0.6548904646188021",
        "host": "packages-12-west.internal.npmjs.com"
      }
    },
    "1.1.0": {
      "name": "highlight-words-core",
      "version": "1.1.0",
      "keywords": [
        "highlighter",
        "highlight",
        "text",
        "words",
        "matches",
        "substring",
        "occurrences",
        "search"
      ],
      "author": {
        "name": "Brian Vaughn",
        "email": "brian.david.vaughn@gmail.com"
      },
      "license": "MIT",
      "_id": "highlight-words-core@1.1.0",
      "maintainers": [
        {
          "name": "brianvaughn",
          "email": "briandavidvaughn@gmail.com"
        },
        {
          "name": "clauderic",
          "email": "clauderic.d@gmail.com"
        }
      ],
      "dist": {
        "shasum": "6ca35f256b1be72857963eafe97c255a2168c7ff",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/highlight-words-core/-/highlight-words-core-1.1.0.tgz",
        "integrity": "sha512-/GR0sXzYEruxAgsOWQ146T1zEzCd1tiuoH+HuoQX7bonujTkz9/9stWu9yxgu93AiNPWuukE2rb/iLEkLSYROw==",
        "signatures": [
          {
            "sig": "MEUCIFhiZ+wP6IKPTAHNPmyI/dpY5L30SX0YYOlxFVDMwTTQAiEA765eC9WBIStDDNxYUhIOszZUTjLXoPrRQabcOCxhfow=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "dist/index.js",
      "gitHead": "08fe9dafa000473b39da188de7e49bd71506f4a1",
      "scripts": {
        "lint": "standard",
        "test": "mocha --compilers js:babel-register 'src/**/*.test.js'",
        "build": "webpack --config webpack.config.dist.js --bail",
        "prebuild": "rimraf dist",
        "prepublish": "npm run build"
      },
      "_npmUser": {
        "name": "brianvaughn",
        "email": "briandavidvaughn@gmail.com"
      },
      "standard": {
        "global": [
          "afterAll",
          "afterEach",
          "beforeAll",
          "beforeEach",
          "describe",
          "it"
        ],
        "ignore": [
          "build",
          "dist",
          "node_modules"
        ],
        "parser": "babel-eslint"
      },
      "repository": {
        "url": "github.com/bvaughn/highlight-words-core.git",
        "type": "git"
      },
      "_npmVersion": "5.3.0",
      "description": "Utility functions shared by react-highlight-words and react-native-highlight-words",
      "directories": {},
      "_nodeVersion": "8.4.0",
      "dependencies": {
        "babel-runtime": "^6.11.6"
      },
      "devDependencies": {
        "mocha": "^3.0.2",
        "watch": "^0.18.0",
        "rimraf": "^2.4.3",
        "webpack": "^1.9.6",
        "latinize": "^0.3.0",
        "standard": "^7.0.1",
        "babel-cli": "6.8.0",
        "cross-env": "^1.0.7",
        "expect.js": "^0.3.1",
        "babel-core": "^6.5.1",
        "babel-eslint": "^6.0.4",
        "babel-loader": "^6.2.3",
        "babel-polyfill": "^6.5.0",
        "babel-preset-es2015": "^6.14.0",
        "babel-preset-stage-1": "^6.5.0",
        "babel-plugin-typecheck": "^3.9.0",
        "babel-preset-es2015-rollup": "^1.1.1",
        "babel-plugin-transform-runtime": "^6.15.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/highlight-words-core-1.1.0.tgz_1508080032177_0.3276205437723547",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.1.1": {
      "name": "highlight-words-core",
      "version": "1.1.1",
      "keywords": [
        "highlighter",
        "highlight",
        "text",
        "words",
        "matches",
        "substring",
        "occurrences",
        "search"
      ],
      "author": {
        "name": "Brian Vaughn",
        "email": "brian.david.vaughn@gmail.com"
      },
      "license": "MIT",
      "_id": "highlight-words-core@1.1.1",
      "maintainers": [
        {
          "name": "brianvaughn",
          "email": "briandavidvaughn@gmail.com"
        },
        {
          "name": "clauderic",
          "email": "clauderic.d@gmail.com"
        }
      ],
      "dist": {
        "shasum": "77a23bbbe380c285044e05d4c03bac22c43c1ee7",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/highlight-words-core/-/highlight-words-core-1.1.1.tgz",
        "integrity": "sha512-Wer/lTR3aGswnBKhfZtayQ6Yv044yXosw3nVhnRLOEV5JQ6LKmJIDaicqOqunTQVkLgB72xqvTNRhtX343mZBw==",
        "signatures": [
          {
            "sig": "MEQCICZi0FDUTC6qhj9ldulk0TGmfZUh5uxpMZhSCXLOEsohAiAGPLRU78y5YP4zeB6Te1GSXexxERxpxhV01atVdma7Xg==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "dist/index.js",
      "gitHead": "54216d41e5cf6eef84a00a505fc42847d46ed8e0",
      "scripts": {
        "lint": "standard",
        "test": "mocha --compilers js:babel-register \"src/**/*.test.js\"",
        "build": "webpack --config webpack.config.dist.js --bail",
        "prebuild": "rimraf dist",
        "prepublish": "npm run build"
      },
      "_npmUser": {
        "name": "brianvaughn",
        "email": "briandavidvaughn@gmail.com"
      },
      "standard": {
        "global": [
          "afterAll",
          "afterEach",
          "beforeAll",
          "beforeEach",
          "describe",
          "it"
        ],
        "ignore": [
          "build",
          "dist",
          "node_modules"
        ],
        "parser": "babel-eslint"
      },
      "repository": {
        "url": "github.com/bvaughn/highlight-words-core.git",
        "type": "git"
      },
      "_npmVersion": "5.3.0",
      "description": "Utility functions shared by react-highlight-words and react-native-highlight-words",
      "directories": {},
      "_nodeVersion": "8.4.0",
      "dependencies": {
        "babel-runtime": "^6.11.6"
      },
      "devDependencies": {
        "mocha": "^3.0.2",
        "watch": "^0.18.0",
        "rimraf": "^2.4.3",
        "webpack": "^1.9.6",
        "latinize": "^0.3.0",
        "standard": "^7.0.1",
        "babel-cli": "6.8.0",
        "cross-env": "^1.0.7",
        "expect.js": "^0.3.1",
        "babel-core": "^6.5.1",
        "babel-eslint": "^6.0.4",
        "babel-loader": "^6.2.3",
        "babel-polyfill": "^6.5.0",
        "babel-preset-es2015": "^6.14.0",
        "babel-preset-stage-1": "^6.5.0",
        "babel-plugin-typecheck": "^3.9.0",
        "babel-preset-es2015-rollup": "^1.1.1",
        "babel-plugin-transform-runtime": "^6.15.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/highlight-words-core-1.1.1.tgz_1513142018231_0.12401664862409234",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.1.2": {
      "name": "highlight-words-core",
      "version": "1.1.2",
      "keywords": [
        "highlighter",
        "highlight",
        "text",
        "words",
        "matches",
        "substring",
        "occurrences",
        "search"
      ],
      "author": {
        "name": "Brian Vaughn",
        "email": "brian.david.vaughn@gmail.com"
      },
      "license": "MIT",
      "_id": "highlight-words-core@1.1.2",
      "maintainers": [
        {
          "name": "brianvaughn",
          "email": "briandavidvaughn@gmail.com"
        },
        {
          "name": "clauderic",
          "email": "clauderic.d@gmail.com"
        }
      ],
      "dist": {
        "shasum": "5c2717c4f6c6e7ea2462ab85b43ff8b24f58ec3e",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/highlight-words-core/-/highlight-words-core-1.1.2.tgz",
        "integrity": "sha512-iBKBNeN/kH/D67j/Gouuz4Ev1TMAziwd8f9JE2EbtmhyBtk96Ij/9MS/ZEfv7sRf6TsKcle86GP0Oruh2uE9Nw==",
        "signatures": [
          {
            "sig": "MEUCIQDyfgzfph3bgAyvo5EaJyvrGDTSElRv766GJAR3j/p8eAIgBZQVQ84O//OqnNbFGHHNvdmjsPAydSfHyGLJr112CYw=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "main": "dist/index.js",
      "gitHead": "f4c43dc71a40fe86989473742c230627c3e4871a",
      "scripts": {
        "lint": "standard",
        "test": "mocha --compilers js:babel-register \"src/**/*.test.js\"",
        "build": "webpack --config webpack.config.dist.js --bail",
        "prebuild": "rimraf dist",
        "prepublish": "npm run build"
      },
      "_npmUser": {
        "name": "brianvaughn",
        "email": "briandavidvaughn@gmail.com"
      },
      "standard": {
        "global": [
          "afterAll",
          "afterEach",
          "beforeAll",
          "beforeEach",
          "describe",
          "it"
        ],
        "ignore": [
          "build",
          "dist",
          "node_modules"
        ],
        "parser": "babel-eslint"
      },
      "repository": {
        "url": "github.com/bvaughn/highlight-words-core.git",
        "type": "git"
      },
      "_npmVersion": "5.3.0",
      "description": "Utility functions shared by react-highlight-words and react-native-highlight-words",
      "directories": {},
      "_nodeVersion": "8.4.0",
      "devDependencies": {
        "mocha": "^3.0.2",
        "rimraf": "^2.4.3",
        "webpack": "^1.9.6",
        "latinize": "^0.3.0",
        "standard": "^7.0.1",
        "babel-cli": "6.8.0",
        "cross-env": "^1.0.7",
        "expect.js": "^0.3.1",
        "babel-core": "^6.5.1",
        "babel-eslint": "^6.0.4",
        "babel-loader": "^6.2.3",
        "babel-preset-es2015": "^6.14.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/highlight-words-core-1.1.2.tgz_1513142992691_0.43746759137138724",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.2.0": {
      "name": "highlight-words-core",
      "version": "1.2.0",
      "keywords": [
        "highlighter",
        "highlight",
        "text",
        "words",
        "matches",
        "substring",
        "occurrences",
        "search"
      ],
      "author": {
        "name": "Brian Vaughn",
        "email": "brian.david.vaughn@gmail.com"
      },
      "license": "MIT",
      "_id": "highlight-words-core@1.2.0",
      "maintainers": [
        {
          "name": "brianvaughn",
          "email": "briandavidvaughn@gmail.com"
        },
        {
          "name": "clauderic",
          "email": "clauderic.d@gmail.com"
        }
      ],
      "dist": {
        "shasum": "232bec301cbf2a4943d335dc748ce70e9024f3b1",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/highlight-words-core/-/highlight-words-core-1.2.0.tgz",
        "fileCount": 9,
        "integrity": "sha512-nu5bMsWIgpsrlXEMNKSvbJMeUPhFxCOVT28DnI8UCVfhm3e98LC8oeyMNrc7E18+QQ4l/PvbeN7ojyN4XsmBdA==",
        "signatures": [
          {
            "sig": "MEUCID03cNoF12hcEE9kSGkAnBcg7LP+l/xlZQZABnHU6yc+AiEAw4PwsLTJ2vMLpYzLGqIVzZjJ5BDGbQaALLGFKOCgdqo=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 132072
      },
      "main": "dist/index.js",
      "gitHead": "7995e9af288c33118537a6344bbacd9ae7f13d11",
      "scripts": {
        "lint": "standard",
        "test": "mocha --compilers js:babel-register \"src/**/*.test.js\"",
        "build": "webpack --config webpack.config.dist.js --bail",
        "prebuild": "rimraf dist",
        "prepublish": "npm run build"
      },
      "_npmUser": {
        "name": "brianvaughn",
        "email": "briandavidvaughn@gmail.com"
      },
      "standard": {
        "global": [
          "afterAll",
          "afterEach",
          "beforeAll",
          "beforeEach",
          "describe",
          "it"
        ],
        "ignore": [
          "build",
          "dist",
          "node_modules"
        ],
        "parser": "babel-eslint"
      },
      "repository": {
        "url": "github.com/bvaughn/highlight-words-core.git",
        "type": "git"
      },
      "_npmVersion": "5.3.0",
      "description": "Utility functions shared by react-highlight-words and react-native-highlight-words",
      "directories": {},
      "_nodeVersion": "8.4.0",
      "_hasShrinkwrap": false,
      "devDependencies": {
        "mocha": "^3.0.2",
        "rimraf": "^2.4.3",
        "webpack": "^1.9.6",
        "latinize": "^0.3.0",
        "standard": "^7.0.1",
        "babel-cli": "6.8.0",
        "cross-env": "^1.0.7",
        "expect.js": "^0.3.1",
        "babel-core": "^6.5.1",
        "babel-eslint": "^6.0.4",
        "babel-loader": "^6.2.3",
        "babel-preset-es2015": "^6.14.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/highlight-words-core_1.2.0_1519058164974_0.9796598767191198",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.2.1": {
      "name": "highlight-words-core",
      "version": "1.2.1",
      "keywords": [
        "highlighter",
        "highlight",
        "text",
        "words",
        "matches",
        "substring",
        "occurrences",
        "search"
      ],
      "author": {
        "name": "Brian Vaughn",
        "email": "brian.david.vaughn@gmail.com"
      },
      "license": "MIT",
      "_id": "highlight-words-core@1.2.1",
      "maintainers": [
        {
          "name": "brianvaughn",
          "email": "briandavidvaughn@gmail.com"
        },
        {
          "name": "clauderic",
          "email": "clauderic.d@gmail.com"
        }
      ],
      "dist": {
        "shasum": "623830004c93f3731e108dfd8a5d3d9b7e6c01f4",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/highlight-words-core/-/highlight-words-core-1.2.1.tgz",
        "fileCount": 9,
        "integrity": "sha512-iJVOcqPbHNf2VFhAgrKCQ8g7BMUK53BqIZX8NmvMsGeEMRCcrJxbbWJrFvEApJ8vlirz2dMbwcxQhhLJebb/zw==",
        "signatures": [
          {
            "sig": "MEYCIQDwSf3M/JgGwHkkYuAMyYF+5WuLvQ7J9gSl2HoXIyhZyQIhAOAFOcl3dKGuixdqLXPB1h0Lmmc3KGLHQA5JpQXqWu9s",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 31374,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6GQZCRA9TVsSAnZWagAAL9kP/1Rd9FsgzKfRtjfNJb6l\nW8N9eqY0/aVfbuFg3F4XAuESjEmUft/Cg0CdA14Ot+d6tr6aI2FK7vVtd6qp\nSPu46Gji1mU7nwMXD7dNr4690mVf08XlVdcndXlU+XI6QmxiiR78TVUBom1x\nQeUryBldzIXag2iezWPOKBNxvhHgW7XL5vzsnIyW+CAruAi/pvTNo2b9dUO4\nFRxGtIHLuDh9ZNC26k9cYIzpNj2YNs1RxjyaaDfP3Qb0Gn4bV3s7A48QMx8Q\n2ak+zIwB5ZvJh2XLSY3jUCvbKrWeRSE6j0mu4Tx92WmfZ3Dh/yse7p+AxWJQ\n5pQ6gUIDnsnR4eCdxQRsEvw5XKZY0H9vjFVOlE16KC+w2pFk9Fq3hBU8Of6U\nW7HfG1ZM8kGzK+VDxH8tVUW6MJcxL1c7F1NdU4264r9oFHRx7a8BgLe/0L3M\nGGpXQbRY3XWZZRZCF09awLPKBMb2e77GhL6OdgbSKUU77U3+r586APvMYlzR\n48mhBn4K3vsoieYeI9+oRIWXBlj6bvDDM3CtfmaNnx2VLiiggPwuCVI8OMlc\ne9djRSapWyXr4EYrHTgLIKzYf/Bz6LusOyUKlpYuTDcXHZgNORBZg9vpn7zs\ni1k1e7unPxe9k38y5UNuZcw+nCYBCZgIWeE/Wl3iitKrSOK/3xm6fK2e4ruZ\njZ2m\r\n=zYUQ\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "dist/index.js",
      "gitHead": "c2b1faa922903eb9a95b1bb02f8514c019f4f4f2",
      "scripts": {
        "lint": "standard",
        "test": "mocha --compilers js:babel-register \"src/**/*.test.js\"",
        "build": "yarn build:source && yarn build:flow",
        "prebuild": "rimraf dist",
        "build:flow": "cp flow-template dist/index.js.flow",
        "prepublish": "npm run build",
        "build:source": "webpack --config webpack.config.dist.js --bail"
      },
      "_npmUser": {
        "name": "brianvaughn",
        "email": "briandavidvaughn@gmail.com"
      },
      "standard": {
        "global": [
          "afterAll",
          "afterEach",
          "beforeAll",
          "beforeEach",
          "describe",
          "it"
        ],
        "ignore": [
          "build",
          "dist",
          "node_modules"
        ],
        "parser": "babel-eslint"
      },
      "repository": {
        "url": "github.com/bvaughn/highlight-words-core.git",
        "type": "git"
      },
      "_npmVersion": "6.4.1",
      "description": "Utility functions shared by react-highlight-words and react-native-highlight-words",
      "directories": {},
      "_nodeVersion": "10.12.0",
      "dependencies": {
        "babel-preset-flow": "^6"
      },
      "_hasShrinkwrap": false,
      "devDependencies": {
        "mocha": "^3.0.2",
        "rimraf": "^2.4.3",
        "webpack": "^1.9.6",
        "latinize": "^0.3.0",
        "standard": "^7.0.1",
        "babel-cli": "6.8.0",
        "cross-env": "^1.0.7",
        "expect.js": "^0.3.1",
        "babel-core": "^6.5.1",
        "babel-eslint": "^6.0.4",
        "babel-loader": "^6.2.3",
        "babel-preset-es2015": "^6.14.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/highlight-words-core_1.2.1_1541956633046_0.4267505777558953",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.2.2": {
      "name": "highlight-words-core",
      "version": "1.2.2",
      "keywords": [
        "highlighter",
        "highlight",
        "text",
        "words",
        "matches",
        "substring",
        "occurrences",
        "search"
      ],
      "author": {
        "name": "Brian Vaughn",
        "email": "brian.david.vaughn@gmail.com"
      },
      "license": "MIT",
      "_id": "highlight-words-core@1.2.2",
      "maintainers": [
        {
          "name": "brianvaughn",
          "email": "briandavidvaughn@gmail.com"
        },
        {
          "name": "clauderic",
          "email": "clauderic.d@gmail.com"
        },
        {
          "name": "ryanflorence",
          "email": "rpflorence@gmail.com"
        }
      ],
      "dist": {
        "shasum": "1eff6d7d9f0a22f155042a00791237791b1eeaaa",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/highlight-words-core/-/highlight-words-core-1.2.2.tgz",
        "fileCount": 9,
        "integrity": "sha512-BXUKIkUuh6cmmxzi5OIbUJxrG8OAk2MqoL1DtO3Wo9D2faJg2ph5ntyuQeLqaHJmzER6H5tllCDA9ZnNe9BVGg==",
        "signatures": [
          {
            "sig": "MEQCIGJkaMORdPA0DdoMRAXKZnU/czxisDSx+xb5Z/PCy6v5AiAA+8yPVzEpVJTOfTYQtCaYpUYrtjMsw6o5JfzRMl4lFA==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 31347,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6Z3uCRA9TVsSAnZWagAAGkMP/2JdtNlvQpcXcgsLg6kC\nA0lGiehJGVOK/F2ROxpbb19nJhwuTCX1q9Mv6T70RQOpnPLxHTE23dzVEMAv\nGvO6bfYUnJuqBvlPhCWE8vJWh18cbYrtsQsVsAMPkoczHSi5fbEjqvqZE48p\no80JsgjJg3SxCsOxUktlrjHdFhGcr1jmfr2nBMG0o5/TqWykMDlWv4//d/A7\n8OIGHwdPNA9fMcQGQAFjZfL0dDgzNSbMoKnkg4ZN4GpAUSHOa44hi3tGCBTE\nVEfLkWrHOSJJANo7kCJ0RZiIVgTlZUtLXdXuQ6nx87StRxl0jNNqsvljF7eH\nRJIb9aIlFAVCfeTF12BwH0SWUfqw9vrVjO1BcACHJOS5gJeYemqNns8OfpUJ\nRwCwfuSoEeCQlbDdnDtq/QZuoe5GF2e4U+TtfHR5xePViOSQNdJo6uA2KxRM\njsz+1QIeyBsCYAcz+xgWXqLeITyD58hVitW3K4+uz73QjFobD9TBq3SoPhui\nuwH3PP6uo7sSDOqFnh9QRAtdy7G/xvAB8XYuNQeL6RV3wQCyurtGDBRcLX1I\nAuSrWgqUPKd20Vgf9w5ixQMYkNAfmDedywfxspr5mmYMPiqxxV1IgsIlTr5R\nzgVsGgstMTVS1EJ+9UCV/eenJMib6VNAQcvVUZAx7Gd09gjkibZHUxpi36Bl\n2foD\r\n=ka/x\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "dist/index.js",
      "gitHead": "ab3abe11ed118d0cee18786395300a6f5290dcb9",
      "scripts": {
        "lint": "standard",
        "test": "mocha --compilers js:babel-register \"src/**/*.test.js\"",
        "build": "yarn build:source && yarn build:flow",
        "prebuild": "rimraf dist",
        "build:flow": "cp flow-template dist/index.js.flow",
        "prepublish": "npm run build",
        "build:source": "webpack --config webpack.config.dist.js --bail"
      },
      "_npmUser": {
        "name": "brianvaughn",
        "email": "briandavidvaughn@gmail.com"
      },
      "standard": {
        "global": [
          "afterAll",
          "afterEach",
          "beforeAll",
          "beforeEach",
          "describe",
          "it"
        ],
        "ignore": [
          "build",
          "dist",
          "node_modules"
        ],
        "parser": "babel-eslint"
      },
      "repository": {
        "url": "github.com/bvaughn/highlight-words-core.git",
        "type": "git"
      },
      "_npmVersion": "6.4.1",
      "description": "Utility functions shared by react-highlight-words and react-native-highlight-words",
      "directories": {},
      "_nodeVersion": "10.12.0",
      "_hasShrinkwrap": false,
      "devDependencies": {
        "mocha": "^3.0.2",
        "rimraf": "^2.4.3",
        "webpack": "^1.9.6",
        "latinize": "^0.3.0",
        "standard": "^7.0.1",
        "babel-cli": "6.8.0",
        "cross-env": "^1.0.7",
        "expect.js": "^0.3.1",
        "babel-core": "^6.5.1",
        "babel-eslint": "^6.0.4",
        "babel-loader": "^6.2.3",
        "babel-preset-flow": "^6",
        "babel-preset-es2015": "^6.14.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/highlight-words-core_1.2.2_1542036974090_0.06718657030282671",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.2.3": {
      "name": "highlight-words-core",
      "description": "Utility functions shared by react-highlight-words and react-native-highlight-words",
      "version": "1.2.3",
      "author": {
        "name": "Brian Vaughn",
        "email": "brian.david.vaughn@gmail.com"
      },
      "license": "MIT",
      "main": "dist/index.js",
      "scripts": {
        "build": "yarn build:source && yarn build:flow",
        "build:flow": "cp flow-template dist/index.js.flow",
        "build:source": "webpack --config webpack.config.dist.js --bail",
        "lint": "standard",
        "prebuild": "rimraf dist",
        "prepublish": "npm run build",
        "test": "mocha --compilers js:babel-register \"src/**/*.test.js\""
      },
      "keywords": [
        "highlighter",
        "highlight",
        "text",
        "words",
        "matches",
        "substring",
        "occurrences",
        "search"
      ],
      "repository": {
        "type": "git",
        "url": "github.com/bvaughn/highlight-words-core.git"
      },
      "standard": {
        "parser": "babel-eslint",
        "ignore": [
          "build",
          "dist",
          "node_modules"
        ],
        "global": [
          "afterAll",
          "afterEach",
          "beforeAll",
          "beforeEach",
          "describe",
          "it"
        ]
      },
      "devDependencies": {
        "babel-cli": "6.8.0",
        "babel-core": "^6.5.1",
        "babel-eslint": "^6.0.4",
        "babel-loader": "^6.2.3",
        "babel-preset-es2015": "^6.14.0",
        "babel-preset-flow": "^6",
        "cross-env": "^1.0.7",
        "expect.js": "^0.3.1",
        "latinize": "^0.3.0",
        "mocha": "^3.0.2",
        "rimraf": "^2.4.3",
        "standard": "^7.0.1",
        "webpack": "^1.9.6"
      },
      "gitHead": "6d953dfb9f004e4aa25f5ab55a4583cc14cb1c21",
      "_id": "highlight-words-core@1.2.3",
      "_nodeVersion": "20.2.0",
      "_npmVersion": "9.6.6",
      "dist": {
        "integrity": "sha512-m1O9HW3/GNHxzSIXWw1wCNXXsgLlxrP0OI6+ycGUhiUHkikqW3OrwVHz+lxeNBe5yqLESdIcj8PowHQ2zLvUvQ==",
        "shasum": "781f37b2a220bf998114e4ef8c8cb6c7a4802ea8",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/highlight-words-core/-/highlight-words-core-1.2.3.tgz",
        "fileCount": 9,
        "unpackedSize": 31469,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQD4ZTZF4y8l4mNjQfWcZCv6NTcFKCBNNQt3JDdGHnuWXwIhAO32iFe43icy63qykcmfDSj6ZUvIb4nCKveFblMeKYyz"
          }
        ]
      },
      "_npmUser": {
        "name": "brianvaughn",
        "email": "briandavidvaughn@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "ryanflorence",
          "email": "rpflorence@gmail.com"
        },
        {
          "name": "brianvaughn",
          "email": "briandavidvaughn@gmail.com"
        },
        {
          "name": "clauderic",
          "email": "clauderic.d@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/highlight-words-core_1.2.3_1727531054457_0.31203951477115077"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "highlight-words-core",
  "time": {
    "created": "2016-09-22T01:43:11.463Z",
    "modified": "2026-07-19T15:11:41.937Z",
    "1.0.0": "2016-09-22T01:43:11.463Z",
    "1.0.1": "2016-09-22T01:48:46.671Z",
    "1.0.2": "2016-09-22T01:58:11.429Z",
    "1.0.3": "2016-09-22T02:42:53.254Z",
    "1.1.0": "2017-10-15T15:07:12.243Z",
    "1.1.1": "2017-12-13T05:13:38.401Z",
    "1.1.2": "2017-12-13T05:29:52.807Z",
    "1.2.0": "2018-02-19T16:36:05.365Z",
    "1.2.1": "2018-11-11T17:17:13.178Z",
    "1.2.2": "2018-11-12T15:36:14.298Z",
    "1.2.3": "2024-09-28T13:44:14.659Z"
  },
  "readmeFilename": "README.md"
}