@mwm/describe
TypeScript icon, indicating that this package has built-in type declarations

2.5.0 • Public • Published

@mwm/describe

This is preview release, and doesn't currently do public/private exports.

Describe is a thin wrapper around Tap that automates many of the common conventions I use when testing software. Specifically:

  1. Each module has a dedicated subfolder.
  2. The module's source and tests live in that same folder.
  3. Public exports are made by the module's index.js file.
  4. Exports from any other file are private to that module and should never be imported by sibling or parent modules.

For example:

  • ../module/module.js may import from ./helper.js, but may not import from ../sibling/helper.js.
  • ../module/module.js may import from ../sibling/index.js.

Dependencies (1)

Dev Dependencies (3)

Package Sidebar

Install

npm i @mwm/describe

Weekly Downloads

0

Version

2.5.0

License

MIT

Unpacked Size

85.1 kB

Total Files

24

Last publish

Collaborators

  • mwm