Skip to content

Commit

Permalink
Merge pull request #194 from csillag/patch-1
Browse files Browse the repository at this point in the history
Fix typo in README.md
  • Loading branch information
hildjj authored Oct 3, 2024
2 parents 1967cd4 + 09c61ed commit 8ba2510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cbor-web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ You can see `cbor-web` in action on the web [here](https://hildjj.github.io/node

- You can bundle this with [parcel](https://github.com/parcel-bundler/parcel), [webpack](https://github.com/webpack/webpack), [browserify](https://github.com/browserify/browserify), etc.
- You can `require('cbor-web')` from node.js, but I wouldn't recommend that unless you're trying to use the exact same paths for backend and frontend codebases, for example.
- You can `import cbor from 'cbor-web'` in either node or in some web contexts. Caveats to using in node are the same as above, but someimes you might *really* want an ES6 module, and be willing to deal with the downsides. Note that as soon as Node 10 is no longer supported, the make `cbor` package will work toward becoming a native ES6 module.
- You can `import cbor from 'cbor-web'` in either node or in some web contexts. Caveats to using in node are the same as above, but someimes you might *really* want an ES6 module, and be willing to deal with the downsides. Note that as soon as Node 10 is no longer supported, the main `cbor` package will work toward becoming a native ES6 module.

0 comments on commit 8ba2510

Please sign in to comment.