test-match

Test string matches with cwd, include, exclude

MIT 15 个版本
安装
npm install test-match
yarn add test-match
pnpm add test-match
bun add test-match
README

test-match

Test string matches with cwd, include, exclude.

import match from 'test-match';

const test = match({ include: 'react-*', exclude: 'react-native-*' })

test('react-dom'); // true
test('react-native-aria'); // false
版本列表
1.2.1 2026-05-26
1.2.0 2025-12-20
1.1.4 2025-12-12
1.1.3 2025-12-12
1.1.2 2025-12-12
1.1.1 2025-12-04
1.1.0 2025-12-04
1.0.6 2025-12-03
1.0.5 2025-11-06
1.0.4 2025-10-21
1.0.3 2025-10-21
1.0.2 2025-07-08
1.0.1 2025-07-02
1.0.0 2025-07-02
0.1.0 2025-07-02