{"_id":"cosmiconfig-toml-loader","_rev":"1-a9cc50ce2c53a9bf4a323b248476d7df","name":"cosmiconfig-toml-loader","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"cosmiconfig-toml-loader","version":"1.0.0","description":"A TOML loader for Cosmiconfig","author":{"name":"Daniel Rearden"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/danielrearden/cosmiconfig-toml-loader.git"},"homepage":"https://github.com/danielrearden/cosmiconfig-toml-loader#readme","bugs":{"url":"https://github.com/danielrearden/cosmiconfig-toml-loader/issues"},"keywords":["coscmiconfig","toml","loader","load","configuration","config"],"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","build":"tsc","lint":"eslint src","format":"prettier --write \"src/**/*.ts\""},"devDependencies":{"@types/jest":"^26.0.3","@typescript-eslint/eslint-plugin":"^3.4.0","@typescript-eslint/parser":"^3.4.0","cosmiconfig":"^6.0.0","eslint":"^7.3.1","eslint-plugin-jest":"^23.17.1","jest":"^26.1.0","prettier":"^2.0.5","rimraf":"^3.0.2","ts-jest":"^26.1.1","typescript":"^3.9.5"},"dependencies":{"@iarna/toml":"^2.2.5"},"gitHead":"1eeefb939feb058a6df22eec3aa3d6eb0ef21aff","_id":"cosmiconfig-toml-loader@1.0.0","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-H/2gurFWVi7xXvCyvsWRLCMekl4tITJcX0QEsDMpzxtuxDyM59xLatYNg4s/k9AA/HdtCYfj2su8mgA0GSDLDA==","shasum":"0681383651cceff918177debe9084c0d3769509b","tarball":"https://registry.npmjs.org/cosmiconfig-toml-loader/-/cosmiconfig-toml-loader-1.0.0.tgz","fileCount":5,"unpackedSize":3518,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9KLKCRA9TVsSAnZWagAAnv8P/0pchtIu76OL/5Wie/hM\nAPsK0W+4wXVlRVmOqJxSzZ4NTob8OUMf06aLmPMSfkdHud79ICQ4A7WEU6Fc\nqSwsxZ2VF1UrJwbtTWb4rcMwMXXA7vCUWuaFOifWbwegWt6q2YFeXCz3PbNn\npHwbAB/fuO8ohSGiS26zrAq339wCF1fOutDA9QVOTu7PsApNEmkeUgjUCrcW\n2I9BQdIWiGZ98eX2U2L7eaWC+t+CKK+nHjvgNTt6Dl+SE/D7Ugoa++gAvkkB\n3Fyes+xhiG8YSJKVpQXlVOXffJHTTcJrh4dG57zYr8Muo30GlmB3k0fUSr6v\npnHoKRuXnRk8MZp9Fc+rCMAj9uQM1CaBJaFmBd9DOsNsCiV0k9JAkj5xcNGy\nQ0tSb2Mn68Z7a2h8PeUkFxu7Fek2HQuO42AhXo1Azh5yyy2v3PVhxBPKw1px\nEPKx4qNe3AbQ+1aJ1iFZ7x9tzKWcToIgHHlsV1YLOZUgB4hpnPax927x9Jrb\nEHPHDaJVA4IFJXrgInofNglpwXC/t1pl4eVJwNoMwoKCLVMMXCX31/Z+jfv6\noyTGf/R6j37RmMIaE+o0MAQM4yL6Yl+jb1GDRJdgv8NAl6MRYz8Xsndj+6ZL\nH5JuSyrSgpulUCCXXC8bC9wpWUCGzZ97xFAic6ciWWwdn01raud1ysIdu78M\nvlLC\r\n=vDhX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHYHfOlvgxC6QM+xoOSYYUsEpZdMjEcr0yJ7HiHg6TsDAiBfhgzWm3UZ94obGq0QUDz7Z8cu+FIJQbtyef+38pkURg=="}]},"maintainers":[{"name":"danielrearden","email":"danielrearden@gmail.com"}],"_npmUser":{"name":"danielrearden","email":"danielrearden@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cosmiconfig-toml-loader_1.0.0_1593090762216_0.5204356280816418"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-25T13:12:42.216Z","1.0.0":"2020-06-25T13:12:42.321Z","modified":"2022-04-27T18:14:26.635Z"},"maintainers":[{"name":"danielrearden","email":"danielrearden@gmail.com"}],"description":"A TOML loader for Cosmiconfig","homepage":"https://github.com/danielrearden/cosmiconfig-toml-loader#readme","keywords":["coscmiconfig","toml","loader","load","configuration","config"],"repository":{"type":"git","url":"git+https://github.com/danielrearden/cosmiconfig-toml-loader.git"},"author":{"name":"Daniel Rearden"},"bugs":{"url":"https://github.com/danielrearden/cosmiconfig-toml-loader/issues"},"license":"MIT","readme":"# cosmiconfig-toml-loader\n\nA TOML loader for Cosmiconfig\n\n## Installation\n\n```\nnpm install cosmiconfig-toml-loader\n```\n\n## Usage\n\n```typescript\nimport cosmiconfig from 'cosmiconfig';\nimport { loadToml } from 'cosmiconfig-toml-loader';\n\nconst moduleName = 'myModuleName';\nconst explorer = cosmiconfig(moduleName, {\n  searchPlaces: [\n    'package.json',\n    `.${moduleName}rc.toml`\n    `.${moduleName}rc`,\n    `.${moduleName}rc.json`,\n    `.${moduleName}rc.yaml`,\n    `.${moduleName}rc.yml`,\n    `.${moduleName}rc.ts`,\n    `.${moduleName}rc.js`,\n    `${moduleName}.config.js`,\n  ],\n  loaders: {\n    '.toml': loadToml,\n  },\n});\n```\n","readmeFilename":"README.md"}