ocaml-npm-publishing

Community

Publish OCaml libraries to npm for browser use.

Authoraresbit
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Publishing OCaml libraries to npm with browser-ready builds, enabling seamless web deployment of OCaml code via js_of_ocaml and wasm_of_ocaml.

Core Features & Use Cases

  • Browser-ready OCaml libraries built with js_of_ocaml/wasm_of_ocaml.
  • Two-branch workflow (main for source; npm branch for packaged assets) to publish npm packages.
  • Dune-based build rules for library and browser artifacts, with copy/install steps for npm packaging.

Quick Start

Steps:

  • Build on main: dune build @install.
  • Switch to the npm branch and run the release script to copy assets.
  • Update package.json version and run npm publish.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ocaml-npm-publishing
Download link: https://github.com/aresbit/MateBot/archive/main.zip#ocaml-npm-publishing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.