Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nurliman committed May 8, 2024
1 parent 1804eb2 commit b14e883
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wet-dots-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nurliman/base85": patch
---

fix docs
1 change: 1 addition & 0 deletions src/encode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export type EncodeOptions = {

/**
* Encodes a string to ASCII85
*
* @param input The string to encode
* @param {Object} options Options for encoding
* @param {boolean} [options.wrap=true] If true, the encoded string will be wrapped in `<~` and `~>`. default is `true`
Expand Down
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ export { encodeBase85, decodeBase85 };
/**
* Base85 encoder and decoder
*/
export default {
const base85 = {
encode: encodeBase85,
decode: decodeBase85,
};

export default base85;

0 comments on commit b14e883

Please sign in to comment.