Skip to content

ant-js/replace-symbol

Repository files navigation

🔍 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

About

🔍 Replace symbol from string or string[]

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages