diff --git a/README.md b/README.md index 92e7827..569d6d1 100644 --- a/README.md +++ b/README.md @@ -39,31 +39,31 @@ sentence(); You can still use `npm:` specifiers as before: ```ts -import { sentence } from 'npm:txtgen'; +import { sentence } from 'npm:@ndaidong/txtgen'; sentence(); ``` Or import from esm.sh ```ts -import { sentence } from 'https://esm.sh/txtgen'; +import { sentence } from 'https://esm.sh/@ndaidong/txtgen'; sentence(); ``` ### Node.js & Bun ```bash -npm i txtgen +npm i @ndaidong/txtgen # pnpm -pnpm i txtgen +pnpm i @ndaidong/txtgen # yarn -yarn add txtgen +yarn add @ndaidong/txtgen # bun -bun add txtgen +bun add @ndaidong/txtgen ``` ```js -import { sentence } from 'txtgen'; +import { sentence } from '@ndaidong/txtgen'; // CommonJS environment // const { sentence } = require('txtgen'); @@ -75,7 +75,7 @@ sentence(); ```html ``` diff --git a/deno.json b/deno.json index f3b1cac..dd56f01 100644 --- a/deno.json +++ b/deno.json @@ -1,5 +1,5 @@ { - "name": "txtgen", + "name": "@ndaidong/txtgen", "version": "4.0.0rc1", "description": "Util for generating random sentences, paragraphs and articles in English", "homepage": "https://github.com/ndaidong/txtgen",