https://github.com/afeiship/next-includes-multi
Check if string includes multiple for next.
https://github.com/afeiship/next-includes-multi
includes multiple next
Last synced: 9 months ago
JSON representation
Check if string includes multiple for next.
- Host: GitHub
- URL: https://github.com/afeiship/next-includes-multi
- Owner: afeiship
- License: mit
- Created: 2020-06-03T09:56:59.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-20T05:25:44.000Z (over 5 years ago)
- Last Synced: 2025-07-09T02:20:03.747Z (10 months ago)
- Topics: includes, multiple, next
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-includes-multi
> Check if string includes multiple for next.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]
## installation
```bash
npm install -S @jswork/next-includes-multi
```
## usage
```js
import '@jswork/next-includes-multi';
const abc = 'abcdef';
const target = ['a', 'b', 'ddd'];
nx.includesMulti(abc, { target, aor: true });
nx.includesMulti(abc, { target });
//some: false
//every: true
```
## license
Code released under [the MIT license](https://github.com/afeiship/next-includes-multi/blob/master/LICENSE.txt).
[version-image]: https://img.shields.io/npm/v/@jswork/next-includes-multi
[version-url]: https://npmjs.org/package/@jswork/next-includes-multi
[license-image]: https://img.shields.io/npm/l/@jswork/next-includes-multi
[license-url]: https://github.com/afeiship/next-includes-multi/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-includes-multi
[size-url]: https://github.com/afeiship/next-includes-multi/blob/master/dist/next-includes-multi.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/next-includes-multi
[download-url]: https://www.npmjs.com/package/@jswork/next-includes-multi