Skip to content

Publish packages to JSR in addition to NPM #27

Description

@jaybuidl

Why JSR.io?

Because it supports Typescript directly, it hands .d.ts file transpilation among other things.
It uses NPM under the hood to distribute packages as web-standard ECMAScript modules.

It's used by Viem among others..

Note: it promote ESM over CommonJS, not sure if it's compatible with CommonJS

Note on NPM compatibility:

Unlike with native JSR imports, you are not directly importing TypeScript code. Instead JSR transpiles the TypeScript code to JavaScript before it is installed into your node_modules directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions