Skip to content

2.0.0

Choose a tag to compare

@jhereu jhereu released this 23 Aug 14:10

This package was entirely rewritten for a new major release after 6 years. The exposed API is almost the same as 1.x but adapted to modern times and modern Javascript.

  • Native TypeScript support! 💙
  • ESModules support (import syntax)
  • Zero dependencies! - More lightweight than ever: 23 kB
  • No need to require the module in every single file where it is used
  • Refactored default(key, value) to defaultOption(key, value)
  • Refactored list(extended) to list(options)
  • Tests 🤖