Skip to content

0k/doctest

Repository files navigation

Typescript/Javascript doctest

Adding @0k/doctest to your project

From the root of your project:

npm install --save @0k/doctest

Or better, as @0k/doctest is still in early release,

npm install --save @0k/doctest#master

To be sure to get the latest version, relaunch this last command whenever you want to update.

Contributing to @0k/doctest

This package is using npm to track dependendies, so you can install them with:

npm install

As this package is written in typescript. You can transpile to javascript and transpile on file change with:

## Compile and watch
npx tspc -w

Tests are managed through vitest

## Run test once
npm run test

Note that you can also use npx vitest command to launch tests in watch mode.

About

Javascript and Typescript doctests

Resources

License

Stars

Watchers

Forks

Packages

No packages published