Pic JS is a library for interacting with a local instance of pocket-ic from TypeScript.
The pocket-ic is a canister testing platform for the Internet Computer. It is a standalone executable that can be used to test canisters locally, without the need to deploy them to a full replica.
Other languages available include Python and Rust.
More detailed documentation is available in the API docs.
Examples are available in the examples directory.
Check out the contribution guidelines.
- Install pnpm
- Install commitizen
- Install pre-commit
- Install dependencies:
pnpm i
- Download the
pocket-icbinary..npmrcsetsignore-scripts=true, so thepostinstallstep that fetches it does not run on its own:pnpm run setup