@prisma/prisma-fmt-wasm

[![Publish pipeline](https://github.com/prisma/prisma-fmt-wasm/actions/workflows/publish-prisma-fmt-wasm.yml/badge.svg)](https://github.com/prisma/prisma-fmt-wasm/actions/workflows/publish-prisma-fmt-wasm.yml) [![npm package](https://img.shields.io/npm/v/

Usage no npm install needed!

<script type="module">
  import prismaPrismaFmtWasm from 'https://cdn.skypack.dev/@prisma/prisma-fmt-wasm';
</script>

README

@prisma/prisma-fmt-wasm

Publish pipeline npm package install size

This repository only contains build logic to package the prisma-fmt engine into a Node package as a WASM module. All the functionality is implemented in prisma-engines.

The published package is internal to Prisma. Its API will break without prior warning.

Example

node -e "const prismaFmt = require('@prisma/prisma-fmt-wasm'); console.log(prismaFmt.version())"

Components