Skip to content

Commit

Permalink
chore: rename package name and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
thekiba committed Feb 11, 2024
1 parent 22d42b9 commit ae66754
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,23 @@
## Installation

```bash
npm install tlb-parser
npm install @toncommunity/tlb-parser
```

## Usage

```typescript
import { parse } from "@toncommunity/tlb-parser"

const scheme = `
t$_ x:# y:(uint 5) = A;
`

const ast = parse(scheme)

console.log(ast)
```

## Related

- IntelliJ plugin: https://github.com/ton-blockchain/intellij-ton
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "tlb-parser",
"name": "@toncommunity/tlb-parser",
"version": "0.1.0",
"description": "Parse TLB syntax into TypeScript objects",
"main": "index.js",
Expand Down

0 comments on commit ae66754

Please sign in to comment.