@dprint/toml
Wasm module for dprint-plugin-toml.
Last updated a year ago by dsherret .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @dprint/toml 
SYNC missed versions from official npm registry.

@dprint/toml

npm distribution of dprint-plugin-toml.

Use this with @dprint/formatter or just use @dprint/formatter and download the dprint-plugin-toml Wasm file.

Example

import { createFromBuffer } from "@dprint/formatter";
import { getPath } from "@dprint/toml";
import * as fs from "fs";

const buffer = fs.readFileSync(getPath());
const formatter = createFromBuffer(buffer);

console.log(formatter.formatText("test.toml", "key   =   5"));

Current Tags

  • 0.7.0                                ...           latest (a year ago)

20 Versions

  • 0.7.0                                ...           a year ago
  • 0.6.4                                ...           a year ago
  • 0.6.3                                ...           2 years ago
  • 0.6.2                                ...           2 years ago
  • 0.6.1                                ...           2 years ago
  • 0.6.0                                ...           2 years ago
  • 0.5.4                                ...           4 years ago
  • 0.5.3                                ...           4 years ago
  • 0.5.2                                ...           5 years ago
  • 0.5.1                                ...           5 years ago
  • 0.5.0                                ...           5 years ago
  • 0.4.1                                ...           5 years ago
  • 0.4.0                                ...           5 years ago
  • 0.3.2                                ...           5 years ago
  • 0.3.1                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
  • 0.2.1                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |