# insert-string-after

> Inserts a string at the needle's end in a haystack.

Latest version **1.0.0** (published 2019-12-21) · 0 weekly downloads

## Install

```sh
npm install insert-string-after
pnpm add insert-string-after
yarn add insert-string-after
bun add insert-string-after
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-12-21 |
| First published | 2019-12-21 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 11.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jaid |
| Maintainers | jaid |

## Links

- npm: https://www.npmjs.com/package/insert-string-after
- Repository: https://github.com/Jaid/insert-string-after
- Homepage: https://github.com/Jaid/insert-string-after#readme
- Issues: https://github.com/Jaid/insert-string-after/issues
- npm.io page: https://npm.io/package/insert-string-after

## Recent versions

- 1.0.0 (latest) — 2019-12-21

## README

# insert-string-after


Inserts a string at the needle's end in a haystack.

<a href="https://raw.githubusercontent.com/Jaid/insert-string-after/master/license.txt"><img src="https://img.shields.io/github/license/Jaid/insert-string-after?style=flat-square&color=success" alt="License"/></a>
<a href="https://github.com/Jaid/insert-string-after/commits"><img src="https://img.shields.io/github/commits-since/Jaid/insert-string-after/v1.0.0?style=flat-square&logo=github&color=success" alt="Commits since v1.0.0"/></a> <a href="https://github.com/Jaid/insert-string-after/commits"><img src="https://img.shields.io/github/last-commit/Jaid/insert-string-after?style=flat-square&logo=github&color=red" alt="Last commit"/></a> <a href="https://github.com/Jaid/insert-string-after/issues"><img src="https://img.shields.io/github/issues/Jaid/insert-string-after?style=flat-square&logo=github&color=red" alt="Issues"/></a>
<a href="https://npmjs.com/package/insert-string-after"><img src="https://img.shields.io/npm/v/insert-string-after?style=flat-square&logo=npm&label=latest%20version&color=red" alt="Latest version on npm"/></a> <a href="https://github.com/Jaid/insert-string-after/network/dependents"><img src="https://img.shields.io/librariesio/dependents/npm/insert-string-after?style=flat-square&logo=npm&color=red" alt="Dependents"/></a> <a href="https://npmjs.com/package/insert-string-after"><img src="https://img.shields.io/npm/dm/insert-string-after?style=flat-square&logo=npm&color=red" alt="Downloads"/></a>

## Installation
<a href="https://npmjs.com/package/insert-string-after"><img src="https://img.shields.io/badge/npm-insert--string--after-C23039?style=flat-square&logo=npm" alt="insert-string-after on npm"/></a>
```bash
npm install --save insert-string-after@^1.0.0
```
<a href="https://yarnpkg.com/package/insert-string-after"><img src="https://img.shields.io/badge/Yarn-insert--string--after-2F8CB7?style=flat-square&logo=yarn&logoColor=white" alt="insert-string-after on Yarn"/></a>
```bash
yarn add insert-string-after@^1.0.0
```
<a href="https://jsdelivr.com/package/npm/insert-string-after"><img src="https://img.shields.io/badge/Web-insert--string--after-orange?style=flat-square&logo=html5&logoColor=white" alt="Web"/></a>
```html
<script src="https://cdn.jsdelivr.net/npm/insert-string-after@1.0.0/index.js"/>
```


## Try it out

<a href="https://jsdelivr.com/package/npm/insert-string-after"><img src="https://img.shields.io/badge/Web-insert--string--after-orange?style=flat-square&logo=html5&logoColor=white" alt="Web"/></a>

Open a browser's JavaScript console and execute:

```javascript
const scriptElement = document.createElement("script");
scriptElement.setAttribute("type", "text/javascript");
scriptElement.setAttribute("src", "https://cdn.jsdelivr.net/npm/insert-string-after@1.0.0/index.js");
document.querySelector("head").appendChild(scriptElement);
```

insert-string-after is now stored in the global variable `insertStringAfter`. The following console expression should return something other than `"undefined"`.

```javascript
typeof insertStringAfter.default
```

<a name="module_insert-string-after"></a>

## Reference

## License
```text
MIT License

Copyright © 2019, Jaid <jaid.jsx@gmail.com> (github.com/jaid)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```

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