From 7b2fdc8abeed14ef628e8751d5652b7e66349da1 Mon Sep 17 00:00:00 2001 From: rsek Date: Wed, 20 Apr 2022 02:01:04 -0700 Subject: [PATCH] update to reflect new import structure --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c0707a887..761cbf935 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ If you just want the data as-is, import its `data` object to use the pre-loaded, ### ESM ```javascript -import { data } from 'dataforged' +import { starforged } from 'dataforged' ``` ### CommonJS @@ -23,7 +23,7 @@ import { data } from 'dataforged' CommonJS support is still experimental. ```javascript -const { data } = require('dataforged') +const { starforged } = require('dataforged') ```