Skip to content

Commit f921ad3

Browse files
authored
docs: update package name in README (#8)
1 parent d0551c0 commit f921ad3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# acorn-typescript
1+
# @sveltejs/acorn-typescript
22

33
[![License](https://img.shields.io/npm/l/svelte.svg)](LICENSE.md) [![Chat](https://img.shields.io/discord/457912077277855764?label=chat&logo=discord)](https://svelte.dev/chat)
44

@@ -9,11 +9,11 @@ TypeScript using Acorn.
99

1010
## Usage
1111

12-
To get started, import the plugin and use Acorn's extension mechanism to register it. You have to enable `options.locations` while using `acorn-typescript`.
12+
To get started, import the plugin and use Acorn's extension mechanism to register it. You have to enable `options.locations` while using `@sveltejs/acorn-typescript`.
1313

1414
```typescript
1515
import * as acorn from 'acorn';
16-
import tsPlugin from 'acorn-typescript';
16+
import tsPlugin from '@sveltejs/acorn-typescript';
1717

1818
const node = acorn.Parser.extend(tsPlugin()).parse(
1919
`
@@ -36,7 +36,7 @@ If you want to enable parsing within a TypeScript ambient context, where certain
3636

3737
```typescript
3838
import * as acorn from 'acorn';
39-
import tsPlugin from 'acorn-typescript';
39+
import tsPlugin from '@sveltejs/acorn-typescript';
4040

4141
const node = acorn.Parser.extend(tsPlugin({ dts: true })).parse(
4242
`

0 commit comments

Comments
 (0)