tldr-node-client

Node.js command-line client for tldr pages

MIT License

Downloads
4.1K
Stars
426
Committers
55

Bot releases are hidden (Show)

tldr-node-client - 3.4.0 Latest Release

Published by kbdharun 11 months ago

[!WARNING]
Breaking change: This release drops support for Node 14 and lower.

[!NOTE]
The default branch of this repository has been updated to main.

Added

  • Support to download cache only for English and specific languages based on the system's locale configuration (#420) (thanks @vivekjoshi556)
  • Support for Android and BSD platforms (#421) (thanks @kbdharun)
  • New -p and --platform option replacing -o and --os option (#421) (thanks @kbdharun)

Fixed

  • Escaping in Zsh autocompletion (#384) (thanks @nonZero)
  • Variable assignment in Zsh (#386) (thanks @JakobMiksch)
  • URL encoded email address rendering (#421) (thanks @kbdharun)

Enhancements

  • Added Funding information to package.json (#401) (thanks @kbdharun)
  • Moved to v2 format for package-lock.json (#409) (thanks @MasterOdin)
  • Update homepage link to https://tldr.sh in package.json (#421) (thanks @kbdharun)
  • The Client Specification version is now displayed when checking the version (#421) (thanks @kbdharun)

Full Changelog: https://github.com/tldr-pages/tldr-node-client/compare/v3.3.8...v3.4.0

tldr-node-client - 3.3.8

Published by owenvoke over 2 years ago

Added

Fixes

tldr-node-client - 3.3.7

Published by agnivade over 3 years ago

Fixes

  • Make version flag spec compliant

Chores

  • Dependency upgrades
tldr-node-client - 3.3.6

Published by agnivade almost 4 years ago

Fixes

Fixed a bug where invoking tldr without arguments would display an error

tldr-node-client - 3.3.5

Published by agnivade almost 4 years ago

Improvements

  • Replaced request with axios for faster cold boot times.
  • Improved bash completion

Fixes

  • Improved a lot of error handling
tldr-node-client - 3.3.4

Published by agnivade over 4 years ago

Fixes

  • Replace deprecated os-homedir with the native os package.
  • Upgrade vulnerable dependencies.

Improvements

  • Remove snap installation steps. Snap installs are no longer supported.
  • Add coverage tests and make general improvements to tests.
tldr-node-client - 3.3.2

Published by agnivade almost 5 years ago

Fixes

  • Handle undefined LANG variable
tldr-node-client - 3.3.1

Published by agnivade almost 5 years ago

Fixes

  • The new targets field was not being accessed while searching.
tldr-node-client - 3.3.0

Published by agnivade almost 5 years ago

Fixes

  • Improve the error message when an invalid theme is passed.
  • Remove some unnecessary global variables.
  • Change cache and tldr to be a class

Features

Language support 🎉

An environment variable LANG needs to contain a GNU posix locale
for it to pick up the right language file.

tldr-node-client - 3.2.7

Published by agnivade over 5 years ago

Fixes

  • Showing homepage links in the heading
  • Add ellipsis to progress messages
  • Make contribution prompt more explicit
tldr-node-client - 3.2.6

Published by agnivade almost 6 years ago

Fixes

  • printing of random page in markdown format
tldr-node-client - 3.2.5

Published by agnivade about 6 years ago

Fixes

  • Using https path for asset download
  • Fixed UT issue where it would fail if $HOME/.tldrrc was not present.
tldr-node-client - 3.2.4

Published by agnivade about 6 years ago

Fixes

  • Upgraded natural to remove node-webworkers as a dependency. This was a cause of major install issues.
tldr-node-client - 3.2.3

Published by agnivade over 6 years ago

Fixes

Fixed the crash on using --render option

tldr-node-client - 3.2.2

Published by agnivade over 6 years ago

Fixes

  • Use random folder for zip extraction to allow multiple users to use tldr simultaneously
  • Use node-unzip2 package which uses graceful-fs@4 to work in node10.

Features

  • Asynchronously build short index
tldr-node-client - 3.2.0

Published by agnivade over 6 years ago

Fixes

  • Switch all dependencies to caret.
  • Upgrade all dependencies to latest.

Features

  • Switch the entire codebase to use promises instead of callbacks.
  • Add new theme colors.
  • Add CLI spinners.
tldr-node-client - 3.1.1

Published by agnivade almost 7 years ago

Fixes

  • Not raising an error when shortIndex.json is not found
  • Fixing --render option
  • Fixed a theme parsing TODO item
tldr-node-client - 3.0.1

Published by agnivade almost 7 years ago

Patches

  • Fixed the repo url in the message when a command is not found.
tldr-node-client - 3.0.0

Published by agnivade almost 7 years ago

Features

  • Updated minimum required node version to be 6

Patches

  • Improve page not found message
  • Using proper folder for windows pages
  • Fixed documentation about pointing to a custom repo
tldr-node-client - 2.0.2

Published by agnivade about 7 years ago

Fixes

Param wasn't being passed for --render option