Skip to content

Commit

Permalink
Merge branch 'main' into commonjs
Browse files Browse the repository at this point in the history
  • Loading branch information
irfan798 committed Dec 13, 2024
2 parents 3bf93e4 + ef0e9f7 commit 2db7b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ See the full API [documentation](http://hildjj.github.io/cbor2/).
Example:

```js
import {decode, diagnose, encode} from 'cbor';
import {decode, diagnose, encode} from 'cbor2';

const encoded = encode(true); // Returns Uint8Array(1) [ 245 ]
decode(encoded); // Returns true
Expand Down

0 comments on commit 2db7b11

Please sign in to comment.