mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
10 lines
240 B
TypeScript
10 lines
240 B
TypeScript
import wildstring = require('wildstring');
|
|
|
|
wildstring.wildcard = '*';
|
|
wildstring.caseSensitive = true;
|
|
|
|
wildstring.match('Test*', 'Testing');
|
|
|
|
wildstring.replace('I * node.*', 'script');
|
|
wildstring.replace('I * node.*', [ 'love', 'js' ]);
|