replace-symbol
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

🔍 replace-symbol

🔍 Replace symbols from string or string[]

Usage

npm i replace-symbol
# or
yarn add replace-symbol
import replaceSymbol from 'replace-symbol';
// or
const { replaceSymbol } = require('replace-symbol');
/**
 *
 * @param s The string or strings to be replaced
 * @param r The content to be replaced
 * @param reg Customize RegExp
 * @returns Replaced result
 */

Changelog

CHANGELOG

LICENSE

MIT

Dependents (0)

Package Sidebar

Install

npm i replace-symbol

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

5.28 kB

Total Files

7

Last publish

Collaborators

  • xrkffgg