1.0.4 • Published 5 years ago

@replayweb/utils v1.0.4

Weekly downloads
73
License
AGPL
Repository
github
Last release
5 years ago

ReplayWeb Utils

This module contains common functionality used between ReplayWeb Extension and ReplayWeb Test Runner to avoid code duplication.

Installation

yarn add @replayweb/utils

Usage details

import { doReplace } from '@replayweb/utils'

doReplace(string) // returns a promise
  .then(replaced => console.log(replaced)) // replaced is the string with all replacements done

See individual function information in the docs.

Development

System Requirements

QuickStart

git clone https://github.com/intuit/replayweb.git
cd packages/utils
yarn
yarn test # outputs test results and coverage

Local Integration

To test changes without publishing a new version, you can use the link feature of yarn to use your local build with other locally built applications:

replay-utils $ yarn build
replay-utils $ yarn link

some-other-repo $ yarn link @replayweb/utils
some-other-repo $ # run your build command, @replayweb/utils is now a symlink to your local build of replay-utils
1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago