{
  "name": "@aduh95/toml",
  "version": "0.4.2",
  "description": "This package contains methods for parsing Tom's Obvious, Minimal Language (TOML) and converting values to TOML.",
  "keywords": [
    "toml",
    "webassembly",
    "wasm",
    "wasm-bindgen"
  ],
  "license": "MIT",
  "homepage": "https://github.com/aduh95/toml.wasm",
  "repository": {
    "type": "git",
    "url": "https://github.com/aduh95/toml.wasm.git"
  },
  "author": {
    "email": "duhamelantoine199@gmail.com",
    "name": "Antoine du Hamel"
  },
  "types": "types.d.ts",
  "exports": {
    ".": {
      "node": {
        "require": "./nodejs/toml2js.js",
        "import": "./nodejs/toml2js.mjs"
      },
      "default": "./web/toml2js.js"
    },
    "./wasm": {
      "node": "./nodejs/toml2js_bg.wasm",
      "default": "./web/toml2js_bg.wasm"
    }
  },
  "files": [
    "nodejs/toml2js_bg.wasm",
    "nodejs/toml2js.js",
    "nodejs/toml2js_bg.js",
    "nodejs/toml2js.d.ts",
    "nodejs/toml2js.mjs",
    "web/toml2js_bg.wasm",
    "web/toml2js.js",
    "web/toml2js.d.ts",
    "types.d.ts"
  ],
  "scripts": {
    "build:cjs": "wasm-pack build --release --target nodejs -d nodejs && node ./scripts/supportPassingBuffer.js ./nodejs main",
    "build:esm": "node ./scripts/createMJS.js",
    "build:web": "wasm-pack build --release --target web -d web && node ./scripts/supportPassingBuffer.js ./web module",
    "build:all": "npm run build:cjs && npm run build:esm && npm run build:web",
    "build": "npm run build:all && node ./scripts/updatePackageExports.js",
    "version": "node scripts/updateCargoVersion.js && git add Cargo.toml",
    "test:cjs": "node tests/cjs.js",
    "test:esm": "node tests/esm.mjs",
    "test:node": "npm run test:cjs && npm run test:esm",
    "test:deno": "deno test --allow-read tests/deno.ts",
    "test": "npm run test:node && npm run test:deno"
  },
  "main": "./nodejs/toml2js.js",
  "module": "./web/toml2js.js",
  "browser": "./web/toml2js.js"
}
