-
-
Notifications
You must be signed in to change notification settings - Fork 1
Update all README.md files with consistent import paths and working usage examples #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update all README.md files with consistent import paths and working usage examples #22
Conversation
…ctions Co-authored-by: streamich <[email protected]>
…usage Co-authored-by: streamich <[email protected]>
Co-authored-by: streamich <[email protected]>
Co-authored-by: streamich <[email protected]>
@jsonjou.com/json-pack/lib/<codec> as import path in examples.
streamich
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert changes to NPM dependency locks.
package-lock.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Removed package-lock.json file in commit 0d85ee1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert changes to this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Reverted yarn.lock to original state in commit 0d85ee1.
Co-authored-by: streamich <[email protected]>
streamich
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
🎉 This PR is included in version 1.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR addresses the need to update all codec README.md files with basic usage instructions and consistent import paths using
@jsonjoy.com/json-pack/lib/<codec>format.Changes Made
🔧 Fixed Import Paths
Updated all codec README files to use the correct import path format:
➕ Added Missing Usage Examples
Several codec READMEs were missing basic usage examples:
🔨 Fixed MessagePack Exports
MsgPackDecoderexport insrc/msgpack/index.tsMessagePackEncoderandMessagePackDecoder📚 Improved Documentation Structure
All codec READMEs now follow a consistent structure:
Some codecs (JSON, BSON, Bencode, UBJSON) require
Writerinstances from@jsonjoy.com/util. The updated READMEs:Example Usage
All examples are now verified to work with the built library:
This ensures developers have accurate, working examples for all codecs with proper import paths and realistic usage patterns.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.