@redisrupt/reva-replacer

2.2.0 • Public • Published

reva-replacer

npm scripts:

npm run dev

start the app in dev mode with hot reloading enabled.

npm run autofix

attempt to autofix the code. If it cannot fix automatically will report the errors in the console

npm run eslint

run the eslint config against the code. If something fails will be reported to the console

npm run build

creates the build folder with the minimized assets

npm run test

run the tests

npm run bump-major

bumps the package json version using semver major

npm run bump-minor

bumps the package json version using semver minor

npm run bump-patch

bumps the package json version using semver patch

old README

website-external

phone format

(xxx) xxx-xxxx | "default" xxx.xxx.xxxx | "dot" xxx-xxx-xxxx | "hyphen

example

var replacerObj = {
    url: 'http://***.com',
    token: "***",
    phoneClassName: "phone-class-name", // optional
    emailClassName: "email-class-name", // optional
    formClassName: "form-class-name", // optional
    phoneFormat: "hyphen", // optional
}

revaReplacer.replace(replacerObj);

Readme

Keywords

none

Package Sidebar

Install

npm i @redisrupt/reva-replacer

Weekly Downloads

1

Version

2.2.0

License

none

Unpacked Size

154 kB

Total Files

5

Last publish

Collaborators

  • reva.tech
  • revaroy