{
  "_id": "@one-ini/wasm",
  "maintainers": [
    {
      "name": "florianb",
      "email": "florian.neumann@mindkeeper.solutions"
    },
    {
      "name": "hildjj",
      "email": "joe-github@cursive.net"
    }
  ],
  "keywords": [
    "editorconfig",
    "ini",
    "parser",
    "ast"
  ],
  "dist-tags": {
    "latest": "0.2.1"
  },
  "_rev": "7-b0a05a24c005e2326784bcf9ee594d0b",
  "description": "Parse EditorConfig-INI file contents into AST",
  "readme": "# One INI\n\nThe core implementation of an AST based, idiomatic INI parser which aims to provide an easy to implement and consistent INI-standard.\n\nThis reference implementation is provided as Rust-library and WASM-package.\n\n<!-- markdownlint-disable -->\n\n[![GitHub Actions](https://github.com/jedmao/editorconfig-ini/workflows/Rust/badge.svg?event=push)](https://github.com/jedmao/editorconfig-ini/actions)\n\n<!-- markdownlint-restore -->\n\n<!-- markdownlint-disable commands-show-output -->\n\nThe work on this project started with the search for an universal parser for the [EditorConfig INI file format specification](https://spec.editorconfig.org/#file-format).\n\n## WASM\n\nTo use from [Web Assembly](https://webassembly.org/), compile with:\n\n```sh\nwasm-pack build --release --target nodejs\n```\n\nand run the (limited) WASM tests with:\n\n```sh\nwasm-pack test --node\n```\n\nYou can call the generated JS wrapper with either:\n\n```js\nimport { parse_to_json } from './pkg/one_ini.js'\n\nconst results = parse_to_json(`\nroot = true\n\n[*]\n# always use unix line endings\nend_of_line = lf\n`)\n\n// {\n//   \"version\": \"0.1.0\",\n//   \"body\": [\n//     { \"type\": \"Pair\", \"key\": \"root\", \"value\": \"true\" },\n//     {\n//       \"type\": \"Section\",\n//       \"name\": \"*\",\n//       \"body\": [\n//         { \"type\": \"Comment\", \"indicator\": \"#\", \"value\": \"always use unix line endings\" },\n//         { \"type\": \"Pair\", \"key\": \"end_of_line\", \"value\": \"lf\" }\n//       ]\n//     }\n//   ]\n// }\n```\n\nor:\n\n```js\nimport { parse_to_uint32array, TokenTypes } from './pkg/editorconfig_ini.js'\nconst buf = Buffer.from(`\nroot = true\n\n[*]\n# always use unix line endings\nend_of_line = lf\n`, 'utf8')\nconst ary = parse_to_uint32array(buf)\n\n// Array with token type, start byte offset, end byte offset for each token\n// Uint32Array(21) [\n//   TokenTypes.Key, 1, 5,\n//   TokenTypes.Value, 8, 12,\n//   TokenTypes.Section, 15, 16,\n//   TokenTypes.CommentIndicator, 18, 19,\n//   TokenTypes.CommentValue, 20, 48,\n//   TokenTypes.Key, 49, 60,\n//   TokenTypes.Value, 63, 65\n// ]\n```\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/one-ini/core.git"
  },
  "bugs": {
    "url": "https://github.com/one-ini/core/issues"
  },
  "license": "MIT",
  "versions": {
    "0.1.0": {
      "name": "@one-ini/wasm",
      "version": "0.1.0",
      "keywords": [
        "editorconfig",
        "ini",
        "parser",
        "ast"
      ],
      "license": "MIT",
      "_id": "@one-ini/wasm@0.1.0",
      "maintainers": [
        {
          "name": "florianb",
          "email": "florian.neumann@mindkeeper.solutions"
        }
      ],
      "homepage": "https://github.com/one-ini/core#readme",
      "bugs": {
        "url": "https://github.com/one-ini/core/issues"
      },
      "dist": {
        "shasum": "9afb7db5804f509490de695481cf05a00aef9ccd",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@one-ini/wasm/-/wasm-0.1.0.tgz",
        "fileCount": 6,
        "integrity": "sha512-cP8ZX+YBxw7SykvcX1NNKSia7ByE+PQTLZcRcEuuHsGJL+Zzuid+LSU1gC6QS1Ll3GTdE7z1/+JR5MYeMQkLBQ==",
        "signatures": [
          {
            "sig": "MEQCIECZ1G83EkubyKNPrF4NwK6K9yiTVVmJg8kTElS2TlKFAiAn+3xP29Z28t2I2IQNwmHobbEo4kUto+OrzBquHbFTnw==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 96136,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPvP3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8Tw//QJaD5xY5k28aWuK5GVn/ISDNlxSutkeBeJgxC3no4oNO7FgX\r\nWcKu/XIMnyBYYq4FT4vyvudto/WFL/u6aijXhzJho3s++nLxXhAB/TwBvhsf\r\nqci0UDiSmfU2mP6+u1CypAsDxdzxqVPprFMqT4Mi2YzV36SjyZJ0ZQvQYEgE\r\nrKKEz/hoilIkU9q+c9FwfDY1AFWxymrveAIdeYHFySYa6GhvxU6gKguiTH2s\r\nn4b7KV5BeAHSprWMpdUDMCECHpcQ2Dh+4CXWOkucyoeZ1rhejhDe0PRWDsm7\r\nP07vGcxYImGirCFEva3msegASFEuw2UAO8jBeeQBqTOKcF8Z0OfzBLnyw+GN\r\niEf+mRoYVgNEvrkrbQbWZEnhGFNitKDzWkf3YJ91YLyVaGHCO1xC8tpvT9SI\r\nSGzckY/PAgxE6OVQQRtW7aRtqJFfxwcSpVp/dPLRi+I6OSKc/oCc8pzb3L4Q\r\nzUjns5jMaOkAzmyyHwDgiSV5KexdWdf5kRRnMQrUXy34KG12yuKzwRiqijqz\r\ng1G50sRTeyivIxO7zz0Rjxz/GEFLFbPwtB5HXWfuQ71SsP7R9KD2OfNlMZJ+\r\nd3xRrlCN3jWJiOnSZh9XiLxyFjF6SuFHuamP5KLVr6dcnSZEo91Miqw2pZ+2\r\nU6m/QnJSarLecM4SKVkPxdMuZrDLsfd4tKk=\r\n=db7d\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "one_ini.js",
      "types": "one_ini.d.ts",
      "gitHead": "9abe6a6f43ae09fea2fa630b520e8a603a8d586f",
      "_npmUser": {
        "name": "florianb",
        "email": "florian.neumann@mindkeeper.solutions"
      },
      "repository": {
        "url": "git+https://github.com/one-ini/core.git",
        "type": "git"
      },
      "_npmVersion": "8.1.4",
      "description": "Parse EditorConfig-INI file contents into AST",
      "directories": {},
      "_nodeVersion": "16.13.0",
      "collaborators": [
        "Jed Mao <jedmao@outlook.com>",
        "Joe Hildebrand <joe-github@cursive.net>",
        "Florian Neumann <florian.neumann@mindkeeper.solutions>"
      ],
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/wasm_0.1.0_1665070071044_0.7700108477201733",
        "host": "s3://npm-registry-packages"
      }
    },
    "0.1.1": {
      "name": "@one-ini/wasm",
      "version": "0.1.1",
      "keywords": [
        "editorconfig",
        "ini",
        "parser",
        "ast"
      ],
      "license": "MIT",
      "_id": "@one-ini/wasm@0.1.1",
      "maintainers": [
        {
          "name": "hildjj",
          "email": "joe-github@cursive.net"
        },
        {
          "name": "florianb",
          "email": "florian.neumann@mindkeeper.solutions"
        }
      ],
      "homepage": "https://github.com/one-ini/core#readme",
      "bugs": {
        "url": "https://github.com/one-ini/core/issues"
      },
      "dist": {
        "shasum": "6013659736c9dbfccc96e8a9c2b3de317df39323",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@one-ini/wasm/-/wasm-0.1.1.tgz",
        "fileCount": 6,
        "integrity": "sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw==",
        "signatures": [
          {
            "sig": "MEUCIQDdAnSU5BOsWWTTtnRa686j6Mrp2JRZeiho+sjI9CBKhAIgLt5ppUMN0n3wfAWvXwrbSDOpQHv/sv311Jx68Ftm/Mg=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 97978,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWE3FACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrnRg/+Maw0NWtvnB1XllP2Xkze95KK1L4W32IfKWvYC7AIK6vJ6vjl\r\ng3CViRhnArLF4+VlrxBdSThlt2SvvpVqnlBUMkUAqb/O6+xLulIAClAEPHvO\r\nuG7ltQKJMCFhJOPhsihzo3II+dxfwuTrrMrtYpIZy3trXdL/f4av2a8zrFca\r\nPIKHp6aOaXRG7s2M9QYX6X7kxz/Bi4yU4p17MlzDaeM7UqNkuZf4diA44bwp\r\nQ1K2WuIg/UimLjtGceBA4z4P5I8cQINjz/0bEtM4sLj2J6undcLYxAIXHbEK\r\nXmwV9MrMcTV0xPPjhpI9e+gDhYf1NpFk6niCWMjcK7bQO7wU1lOLlbpWcHnz\r\nKJd4wvz4oY8zOTHNpsEy3Ny7qjexA2ILQc55qJj3vPT00gQ5Yew00qMUOseT\r\nhKAFRqc9NSNm5L5a+qkayYtRXniFZMGk2oJvqWYBw9D7QkvET4lY6iFNhfOU\r\nSLo7zZfsXvf4ipwtTcUantvXemXESMuCoUaXelbcjgYQK0HcUj/IMlgfujOu\r\nUgXxnBx9MZgtJy0sG2kensoWv+TyoOH0Yujr2ESu5AqYNDDszuhwVVPma783\r\nkpqzSymEsaRrKijC/BptBDjj9nDPJX1PAvxe81GBY5SDJix6t46+uBK+5d86\r\nSgRycH/4eAuOWovCWiEVnQFhCcjI/Sb/qS0=\r\n=+Riw\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "one_ini.js",
      "types": "one_ini.d.ts",
      "gitHead": "365f246526226e905d746e707a80941b0be24e3e",
      "_npmUser": {
        "name": "hildjj",
        "email": "joe-github@cursive.net"
      },
      "repository": {
        "url": "git+https://github.com/one-ini/core.git",
        "type": "git"
      },
      "_npmVersion": "8.19.2",
      "description": "Parse EditorConfig-INI file contents into AST",
      "directories": {},
      "_nodeVersion": "18.11.0",
      "collaborators": [
        "Jed Mao <jedmao@outlook.com>",
        "Joe Hildebrand <joe-github@cursive.net>",
        "Florian Neumann <florian.neumann@mindkeeper.solutions>"
      ],
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/wasm_0.1.1_1666731461128_0.5621126144718869",
        "host": "s3://npm-registry-packages"
      }
    },
    "0.1.2": {
      "name": "@one-ini/wasm",
      "version": "0.1.2",
      "keywords": [
        "editorconfig",
        "ini",
        "parser",
        "ast"
      ],
      "license": "MIT",
      "_id": "@one-ini/wasm@0.1.2",
      "maintainers": [
        {
          "name": "hildjj",
          "email": "joe-github@cursive.net"
        },
        {
          "name": "florianb",
          "email": "florian.neumann@mindkeeper.solutions"
        }
      ],
      "homepage": "https://github.com/one-ini/core#readme",
      "bugs": {
        "url": "https://github.com/one-ini/core/issues"
      },
      "dist": {
        "shasum": "f064a959710a3012005ebdb3acc62fa834ec5585",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@one-ini/wasm/-/wasm-0.1.2.tgz",
        "fileCount": 6,
        "integrity": "sha512-NyFi/dEKLPW8aM2NrU9QJHmMwrMqhX6RpbSnCisAI6RhOCtrkN0bfHCycYtmXs52vspp1NOZLowZIpyA3RZwQQ==",
        "signatures": [
          {
            "sig": "MEUCIH3L9uUX6FnFtqvGmzleHRahht2whjs/N8rF4W18o2EtAiEAoePV87ofAoT6bZqnk6X3L9dSHTtn46N738Q+IPg2OWQ=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 106527
      },
      "main": "one_ini.js",
      "types": "one_ini.d.ts",
      "gitHead": "add57f7e031f93de61e2a94bf3932d4aa12dd7e0",
      "_npmUser": {
        "name": "hildjj",
        "email": "joe-github@cursive.net"
      },
      "repository": {
        "url": "git+https://github.com/one-ini/core.git",
        "type": "git"
      },
      "_npmVersion": "10.9.0",
      "description": "Parse EditorConfig-INI file contents into AST",
      "directories": {},
      "_nodeVersion": "23.1.0",
      "collaborators": [
        "Jed Mao <jedmao@outlook.com>",
        "Joe Hildebrand <joe-github@cursive.net>",
        "Florian Neumann <florian.neumann@mindkeeper.solutions>"
      ],
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/wasm_0.1.2_1731089369076_0.9908445244381632",
        "host": "s3://npm-registry-packages"
      }
    },
    "0.1.3": {
      "name": "@one-ini/wasm",
      "version": "0.1.3",
      "keywords": [
        "editorconfig",
        "ini",
        "parser",
        "ast"
      ],
      "license": "MIT",
      "_id": "@one-ini/wasm@0.1.3",
      "maintainers": [
        {
          "name": "florianb",
          "email": "florian.neumann@mindkeeper.solutions"
        },
        {
          "name": "hildjj",
          "email": "joe-github@cursive.net"
        }
      ],
      "homepage": "https://github.com/one-ini/core#readme",
      "bugs": {
        "url": "https://github.com/one-ini/core/issues"
      },
      "dist": {
        "shasum": "b597c3cb881bd3c034e566666dfed6a9065c7401",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@one-ini/wasm/-/wasm-0.1.3.tgz",
        "fileCount": 6,
        "integrity": "sha512-S8I6rV3EpvE7V+CMloRAPtGTZ01mGkCb0WG7mOxUXnDr26fFPB86z9VbIvfkTIIy4RPlwI9IFS/LdibLyHDjuA==",
        "signatures": [
          {
            "sig": "MEYCIQC3SiJ/dWnFGBByOekoON++U/Ktx4kO9C8+nMzQ/5rHfAIhAI2GGhAsN3lzYKJCcYDGQmPkNDGDWKBni3TxPFtV9fdA",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "attestations": {
          "url": "https://registry.npmjs.org/-/npm/v1/attestations/@one-ini%2fwasm@0.1.3",
          "provenance": {
            "predicateType": "https://slsa.dev/provenance/v1"
          }
        },
        "unpackedSize": 111259
      },
      "main": "one_ini.js",
      "types": "one_ini.d.ts",
      "gitHead": "9c24987d1b4e4acf492ed74c5e9645b7a44fd275",
      "_npmUser": {
        "name": "hildjj",
        "email": "joe-github@cursive.net"
      },
      "repository": {
        "url": "git+https://github.com/one-ini/core.git",
        "type": "git"
      },
      "_npmVersion": "10.9.2",
      "description": "Parse EditorConfig-INI file contents into AST",
      "directories": {},
      "_nodeVersion": "22.13.1",
      "collaborators": [
        "Jed Mao <jedmao@outlook.com>",
        "Joe Hildebrand <joe-github@cursive.net>",
        "Florian Neumann <florian.neumann@mindkeeper.solutions>"
      ],
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/wasm_0.1.3_1738797654803_0.37745060463489843",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "0.2.0": {
      "name": "@one-ini/wasm",
      "version": "0.2.0",
      "keywords": [
        "editorconfig",
        "ini",
        "parser",
        "ast"
      ],
      "license": "MIT",
      "_id": "@one-ini/wasm@0.2.0",
      "maintainers": [
        {
          "name": "florianb",
          "email": "florian.neumann@mindkeeper.solutions"
        },
        {
          "name": "hildjj",
          "email": "joe-github@cursive.net"
        }
      ],
      "homepage": "https://github.com/one-ini/core#readme",
      "bugs": {
        "url": "https://github.com/one-ini/core/issues"
      },
      "dist": {
        "shasum": "598671af52636ea6e0a849d026ad0e7c110e91cf",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@one-ini/wasm/-/wasm-0.2.0.tgz",
        "fileCount": 6,
        "integrity": "sha512-n+L/BvrwKUn7q5O3wHGo+CJZAqfewh38+37sk+eBzv/39lM9pPgPRd4sOZRvSRzo0ukLxzyXso4WlGj2oKZ5hA==",
        "signatures": [
          {
            "sig": "MEQCIGg0vwOL2aMp7olCCz470Be9GAa+lTeFMcEdL0T0DWMEAiBG84zYKFfGHv/P+pDFChZetV+SxZkd3tQ/w6lq1K/TAA==",
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
          }
        ],
        "attestations": {
          "url": "https://registry.npmjs.org/-/npm/v1/attestations/@one-ini%2fwasm@0.2.0",
          "provenance": {
            "predicateType": "https://slsa.dev/provenance/v1"
          }
        },
        "unpackedSize": 110803
      },
      "main": "one_ini.js",
      "types": "one_ini.d.ts",
      "gitHead": "cfb2315a213b10136202944e83e0b653b19d8626",
      "_npmUser": {
        "name": "hildjj",
        "email": "joe-github@cursive.net"
      },
      "repository": {
        "url": "git+https://github.com/one-ini/core.git",
        "type": "git"
      },
      "_npmVersion": "10.9.2",
      "description": "Parse EditorConfig-INI file contents into AST",
      "directories": {},
      "_nodeVersion": "22.13.1",
      "collaborators": [
        "Jed Mao <jedmao@outlook.com>",
        "Joe Hildebrand <joe-github@cursive.net>",
        "Florian Neumann <florian.neumann@mindkeeper.solutions>"
      ],
      "_hasShrinkwrap": false,
      "_npmOperationalInternal": {
        "tmp": "tmp/wasm_0.2.0_1738864576714_0.8584796756889099",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "0.2.1": {
      "name": "@one-ini/wasm",
      "collaborators": [
        "Jed Mao <jedmao@outlook.com>",
        "Joe Hildebrand <joe-github@cursive.net>",
        "Florian Neumann <florian.neumann@mindkeeper.solutions>"
      ],
      "description": "Parse EditorConfig-INI file contents into AST",
      "version": "0.2.1",
      "license": "MIT",
      "repository": {
        "type": "git",
        "url": "git+https://github.com/one-ini/core.git"
      },
      "main": "one_ini.js",
      "types": "one_ini.d.ts",
      "keywords": [
        "editorconfig",
        "ini",
        "parser",
        "ast"
      ],
      "gitHead": "a9374aa5b8a193223f6248bee100f8207e69388f",
      "_id": "@one-ini/wasm@0.2.1",
      "bugs": {
        "url": "https://github.com/one-ini/core/issues"
      },
      "homepage": "https://github.com/one-ini/core#readme",
      "_nodeVersion": "24.13.0",
      "_npmVersion": "11.6.2",
      "dist": {
        "integrity": "sha512-TUqERXGNTifZ9y2g3wPxQrw3HpHv/02DsW3D90T9x0hhonrL1ZqpSmNrU2XkoIq0fP1N6gZfVQzy2Fw1ZvGBNg==",
        "shasum": "5e85cbb433460b23aaa18ac024cd1a556e9e5df9",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/@one-ini/wasm/-/wasm-0.2.1.tgz",
        "fileCount": 6,
        "unpackedSize": 102549,
        "attestations": {
          "url": "https://registry.npmjs.org/-/npm/v1/attestations/@one-ini%2fwasm@0.2.1",
          "provenance": {
            "predicateType": "https://slsa.dev/provenance/v1"
          }
        },
        "signatures": [
          {
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
            "sig": "MEYCIQDGTdxkNzmAsPvoOq/8xJGQh4ZlVp+/TeXQ5CcLrPG6JQIhAK2lmW1BgUvWt72oml4W5rExEHhHvndoHoUfMyF/O+zi"
          }
        ]
      },
      "_npmUser": {
        "name": "GitHub Actions",
        "email": "npm-oidc-no-reply@github.com",
        "trustedPublisher": {
          "id": "github",
          "oidcConfigId": "oidc:461fdff2-caae-4bb5-9372-99938c7997f1"
        }
      },
      "directories": {},
      "maintainers": [
        {
          "name": "florianb",
          "email": "florian.neumann@mindkeeper.solutions"
        },
        {
          "name": "hildjj",
          "email": "joe-github@cursive.net"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages-npm-production",
        "tmp": "tmp/wasm_0.2.1_1771867988656_0.23982094090747208"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "@one-ini/wasm",
  "time": {
    "created": "2022-10-06T15:27:50.979Z",
    "modified": "2026-05-23T08:54:06.847Z",
    "0.1.0": "2022-10-06T15:27:51.223Z",
    "0.1.1": "2022-10-25T20:57:41.355Z",
    "0.1.2": "2024-11-08T18:09:29.342Z",
    "0.1.3": "2025-02-05T23:20:55.026Z",
    "0.2.0": "2025-02-06T17:56:16.970Z",
    "0.2.1": "2026-02-23T17:33:08.805Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/one-ini/core#readme"
}