{"id":19386831,"url":"https://github.com/shuvava/js-transpiler","last_synced_at":"2026-05-13T08:37:05.069Z","repository":{"id":57283762,"uuid":"99636107","full_name":"shuvava/js-transpiler","owner":"shuvava","description":null,"archived":false,"fork":false,"pushed_at":"2017-08-23T13:01:50.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-27T19:56:00.095Z","etag":null,"topics":["babel-es6","eslint","gulp-tasks"],"latest_commit_sha":null,"homepage":"HomePage","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shuvava.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-08T01:25:22.000Z","updated_at":"2017-08-16T02:57:59.000Z","dependencies_parsed_at":"2022-09-19T22:51:39.724Z","dependency_job_id":null,"html_url":"https://github.com/shuvava/js-transpiler","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/shuvava/js-transpiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuvava%2Fjs-transpiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuvava%2Fjs-transpiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuvava%2Fjs-transpiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuvava%2Fjs-transpiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shuvava","download_url":"https://codeload.github.com/shuvava/js-transpiler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuvava%2Fjs-transpiler/sbom","scorecard":{"id":821799,"data":{"date":"2025-08-11","repo":{"name":"github.com/shuvava/js-transpiler","commit":"a37a892d29364a10794579d457ec85e30145b9a3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/6 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-23T15:47:21.609Z","repository_id":57283762,"created_at":"2025-08-23T15:47:21.610Z","updated_at":"2025-08-23T15:47:21.610Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32975161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T06:31:55.726Z","status":"ssl_error","status_checked_at":"2026-05-13T06:31:51.336Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["babel-es6","eslint","gulp-tasks"],"created_at":"2024-11-10T10:07:34.609Z","updated_at":"2026-05-13T08:37:05.034Z","avatar_url":"https://github.com/shuvava.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# js-transpiler\nSimple automatization script of linting and babeling es6 files\n\nthis automatization script :\n* copy all js files into destination folder\n* check syntax using [eslint-config-airbnb-base](https://github.com/airbnb/javascript) \n* babel es6\n## Install\n\n```\n$ npm install --save-dev js-transpiler\n```\n\n## Usage\n\n### Base example\nCopy all files from folder /src to folder /dist\nif file has in first line eslint environment variable es6, this file will be babeled\n\nes6 script to transpile\n```js\n/* eslint-env es6 */\n\nimport $ from 'jquery';\n\nclass A {\n    constructor(a) {\n        console.log(`Hello ${a}!`); // eslint-disable-line no-console\n    }\n}\n```\ngulpfile.js example\n```js\nconst traspiler = require('js-transpiler');\ntraspiler.run({\n        path: {\n            src: './src/**/*.js', // glob with source files to transpile\n            dest: './dist', // destination folder\n        },\n        lint: {\n            failAfterError: false,\n        },\n    });\n```\ncmd/sh\n```cmd\ngulp \n```\nresult of transpiling \n```js\ndefine(['jquery'], function (_jquery) {\n    'use strict';\n  ....\n));\n```\n\n## API\n\n### run([options])\nrun automatization task\n\n#### options\nType: `Object`\n##### options.path\nType: `Object`\n###### options.path.src\nType `String|Array\u003cString\u003e` source path of js files \n###### options.path.dest\nType `string` destination path of js files\n##### options.useRequireJS\nType `bool` add into babel requirejs modules. This options adds add-module-exports and transform-es2015-modules-amd plugins\n##### options.es6Pattern\nType `RegExp` es6 files check pattern\n##### options.useBabel\nType `bool` allow babel using\n##### options.babelrc\nType `Object` babel settings\n###### options.babelrc.presets\nType `Array\u003cString\u003e` default perset ['env']\n###### options.babelrc.plugins\nType `Array\u003cString\u003e` list of plugins. All plugins should be installed in system \n##### options.useLint\nType `bool` allow eslint using\n##### options.lint\nType `Object` eslint settings\n###### options.lint.failAfterError\nType `bool` if true babeling raise error if file has linting errors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuvava%2Fjs-transpiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshuvava%2Fjs-transpiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuvava%2Fjs-transpiler/lists"}