{"id":21245377,"url":"https://github.com/jstransformers/inputformat-to-jstransformer","last_synced_at":"2025-07-10T22:31:09.089Z","repository":{"id":34534835,"uuid":"38478082","full_name":"jstransformers/inputformat-to-jstransformer","owner":"jstransformers","description":"Load a JSTransformer from the provided inputFormat.","archived":false,"fork":false,"pushed_at":"2020-04-26T04:26:25.000Z","size":97,"stargazers_count":5,"open_issues_count":1,"forks_count":5,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-04-26T10:22:14.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://npm.im/inputformat-to-jstransformer","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-07-03T07:06:44.000Z","updated_at":"2020-04-26T04:26:06.000Z","dependencies_parsed_at":"2022-09-08T14:02:07.993Z","dependency_job_id":null,"html_url":"https://github.com/jstransformers/inputformat-to-jstransformer","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Finputformat-to-jstransformer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Finputformat-to-jstransformer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Finputformat-to-jstransformer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jstransformers%2Finputformat-to-jstransformer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jstransformers","download_url":"https://codeload.github.com/jstransformers/inputformat-to-jstransformer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225658516,"owners_count":17503663,"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:54.882Z","updated_at":"2024-11-21T01:50:55.393Z","avatar_url":"https://github.com/jstransformers.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inputformat-to-jstransformer\n\nLoad the first available [JSTransformer](https://github.com/jstransformers/jstransformer) from the provided `inputFormat`.\n\n[![Build Status](https://img.shields.io/travis/jstransformers/inputformat-to-jstransformer/master.svg)](https://travis-ci.org/jstransformers/inputformat-to-jstransformer)\n[![Dependency Status](https://img.shields.io/david/jstransformers/inputformat-to-jstransformer/master.svg)](http://david-dm.org/jstransformers/inputformat-to-jstransformer)\n[![NPM version](https://img.shields.io/npm/v/inputformat-to-jstransformer.svg)](https://www.npmjs.org/package/inputformat-to-jstransformer)\n\n## Installation\n\n    npm install inputformat-to-jstransformer\n\n## API\n\n### `(inputFormat)`\n\nReturns the first package available to process the given `inputFormat`; `false` if no package is available.\n\n```js\nvar jstransformer = require('jstransformer')\nvar inputFormatToTransformer = require('inputformat-to-jstransformer')\n\nvar md = inputFormatToTransformer('md')\n// =\u003e remarkable, markdown, markdown-it, marko, or supermarked\n\njstransformer(md).render('# Hello World!').body\n// =\u003e '\u003ch1\u003eHello World!\u003c/h1\u003e'\n```\n\n### `.dictionary`\n\nThe [`dictionary.json`](dictionary.json) array is also available:\n\n``` js\nvar inputFormats = require('inputformat-to-jstransformer').dictionary\nif (inputFormats['tiff']) {\n  console.log('Input formats of Tiff are supported!')\n}\n```\n\n## Update\n\nTo update `dictionary.json`, run:\n\n```\nnpm run build\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstransformers%2Finputformat-to-jstransformer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjstransformers%2Finputformat-to-jstransformer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjstransformers%2Finputformat-to-jstransformer/lists"}