Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 612 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 612 Bytes

🔍 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