{"id":21245371,"url":"https://github.com/jstransformers/jstransformer-toml","last_synced_at":"2025-06-18T17:34:53.547Z","repository":{"id":29820510,"uuid":"33365023","full_name":"jstransformers/jstransformer-toml","owner":"jstransformers","description":"TOML support for JSTransformers","archived":false,"fork":false,"pushed_at":"2020-04-26T03:36:11.000Z","size":61,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-25T21:06:27.385Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://npm.im/jstransformer-toml","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jstransformers.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-03T13:45:18.000Z","updated_at":"2020-04-26T03:36:06.000Z","dependencies_parsed_at":"2022-09-20T01:03:13.604Z","dependency_job_id":null,"html_url":"https://github.com/jstransformers/jstransformer-toml","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jstransformers/jstransformer-toml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-toml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-toml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-toml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-toml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jstransformers","download_url":"https://codeload.github.com/jstransformers/jstransformer-toml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Fjstransformer-toml/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260599027,"owners_count":23034432,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T01:50:53.861Z","updated_at":"2025-06-18T17:34:48.534Z","avatar_url":"https://github.com/jstransformers.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jstransforer-toml\n\n[TOML](https://github.com/BinaryMuse/toml-node) support for JSTransformers.\n\n[![Build Status](https://img.shields.io/travis/jstransformers/jstransformer-toml/master.svg)](https://travis-ci.org/jstransformers/jstransformer-toml)\n[![Coverage Status](https://img.shields.io/codecov/c/github/jstransformers/jstransformer-toml/master.svg)](https://codecov.io/gh/jstransformers/jstransformer-toml)\n[![Dependency Status](https://img.shields.io/david/jstransformers/jstransformer-toml/master.svg)](http://david-dm.org/jstransformers/jstransformer-toml)\n[![NPM version](https://img.shields.io/npm/v/jstransformer-toml.svg)](https://www.npmjs.org/package/jstransformer-toml)\n\n## Installation\n\n    npm install jstransformer-toml\n\n## API\n\n```js\nvar toml = require('jstransformer')(require('jstransformer-toml'));\nvar opts = {};\n\nvar result = toml.render('[toml]\\nbar = \"baz\"\\nqux = true', opts);\n\nconsole.log(JSON.parse(result).body)\n//=\u003e '{\"toml\": {\"bar\": \"baz\", \"qux\": true}}'\n\nvar promise = toml.renderFileAsync('./path/to/config.toml', opts);\npromise.then(function(data) {\n  console.log(JSON.parse(result).body);\n  //=\u003e '{\"toml\": {\"bar\": \"baz\", \"qux\": true}}'\n});\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstransformers%2Fjstransformer-toml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjstransformers%2Fjstransformer-toml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstransformers%2Fjstransformer-toml/lists"}