Skip to content

Commit

Permalink
docs: adjust EnigmaMocker path in readme example (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
veinfors committed Jan 27, 2023
1 parent 6e07403 commit f493f71
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apis/enigma-mocker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ The purpose of the Enigma mocker is to be able to render visualizations without

## Installation

EnigmaMocker is exposed from @nebula.js/stardust.

```sh
npm install @nebula.js/enigma-mocker
npm install @nebula.js/stardust
```

## Example usage

```js
import { embed } from '@nebula.js/stardust';
import EnigmaMocker from '@nebula.js/enigma-mocker';
import { embed, EnigmaMocker } from '@nebula.js/stardust';
import mekko from '@nebula.js/sn-mekko-chart';

const genericObject = {
Expand Down

0 comments on commit f493f71

Please sign in to comment.