# regexp.prototype.search

> A robust & optimized `RegExp.prototype.search` polyfill, based on the ECMAScript 6 specification.

Latest version **0.1.0** (published 2014-07-20) · 0 weekly downloads

## Install

```sh
npm install regexp.prototype.search
pnpm add regexp.prototype.search
yarn add regexp.prototype.search
bun add regexp.prototype.search
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2014-07-20 |
| First published | 2014-07-20 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mathias Bynens |
| Maintainers | mathias |
| Keywords | string, regex, regexp, es6, ecmascript, polyfill |

## Links

- npm: https://www.npmjs.com/package/regexp.prototype.search
- Repository: https://github.com/mathiasbynens/RegExp.prototype.search
- Homepage: http://mths.be/regexp-prototype-search
- Issues: https://github.com/mathiasbynens/RegExp.prototype.search/issues
- npm.io page: https://npm.io/package/regexp.prototype.search

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2014-07-20

## README

# ES6 `RegExp.prototype.search` polyfill [![Build status](https://travis-ci.org/mathiasbynens/RegExp.prototype.search.svg?branch=master)](https://travis-ci.org/mathiasbynens/RegExp.prototype.search) [![Code coverage status](http://img.shields.io/coveralls/mathiasbynens/RegExp.prototype.search/master.svg)](https://coveralls.io/r/mathiasbynens/RegExp.prototype.search)

An robust & optimized ES3-compatible polyfill for [the `RegExp.prototype.search` method in ECMAScript 6](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-regexp.prototype.search).

## Installation

In a browser:

```html
<script src="regex-prototype-search.js"></script>
```

Via [npm](http://npmjs.org/):

```bash
npm install regexp.prototype.search
```

Then, in [Node.js](http://nodejs.org/):

```js
require('regexp.prototype.search');

// On Windows and on Mac systems with default settings, case doesn’t matter,
// which allows you to do this instead:
require('RegExp.prototype.search');
```

## Author

| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") |
|---|
| [Mathias Bynens](http://mathiasbynens.be/) |

## License

This polyfill is available under the [MIT](http://mths.be/mit) license.

---
_Source: https://npm.io/package/regexp.prototype.search · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
