{"id":19903886,"url":"https://github.com/zerotohero-dev/babil","last_synced_at":"2025-03-01T07:22:18.597Z","repository":{"id":57189047,"uuid":"56398173","full_name":"zerotohero-dev/babil","owner":"zerotohero-dev","description":"[UNMAINTAINED] Babil transpiles all your dependencies without needing grunt or gulp.","archived":false,"fork":false,"pushed_at":"2017-08-20T20:55:31.000Z","size":57,"stargazers_count":1,"open_issues_count":16,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T07:36:10.711Z","etag":null,"topics":["babel","babil","bitesized-tv","byte-sized","bytesized-javascript","bytesized-tv","demos","education","experimental","javascript","learning","podcast","screencast","trainings","tutorials","vidcast","videos"],"latest_commit_sha":null,"homepage":"https://bytesized.tv/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zerotohero-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-16T18:01:18.000Z","updated_at":"2023-10-03T05:29:12.000Z","dependencies_parsed_at":"2022-09-15T03:53:32.809Z","dependency_job_id":null,"html_url":"https://github.com/zerotohero-dev/babil","commit_stats":null,"previous_names":["jsbites/babil"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerotohero-dev%2Fbabil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerotohero-dev%2Fbabil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerotohero-dev%2Fbabil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerotohero-dev%2Fbabil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zerotohero-dev","download_url":"https://codeload.github.com/zerotohero-dev/babil/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241331090,"owners_count":19945294,"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":["babel","babil","bitesized-tv","byte-sized","bytesized-javascript","bytesized-tv","demos","education","experimental","javascript","learning","podcast","screencast","trainings","tutorials","vidcast","videos"],"created_at":"2024-11-12T20:25:49.804Z","updated_at":"2025-03-01T07:22:18.576Z","avatar_url":"https://github.com/zerotohero-dev.png","language":"JavaScript","readme":"## Unmaintained Software\n\nThis was just an **experimental** project, and there’s no need to reinvent [`babel`](https://babeljs.io) and/or create a wrapper around `babel`.\n\nI’m not planning to contribute to this project for a while.\n\nIf you are interested in being a contributor, [please let me know](mailto:volkan.io).\n\nThanks,\n\nVolkan.\n\n----\n\n```\n ____    __    ____  ____  __\n(  _ \\  /__\\  (  _ \\(_  _)(  )\n ) _ \u003c /(__)\\  ) _ \u003c _)(_  )(__\n(____/(__)(__)(____/(____)(____)\n```\n\n## About `babil`\n\n`babil` is a helper module that transpiles your dependencies.\n\nCurrently you can do what `babil` can do [with a simple `babel` command when you set things up correctly](https://github.com/jsbites/babil/issues/30). So this is more like an **experimental** projects that wraps around `babel`.\n\nSo putting something like…\n\n```\n  \"scripts\": {\n    …\n    \"build\": \"babel lib --source-maps -d release\"\n  },\n```\n\nin your `package.json` is a much leaner option than using `babil`.\n\nThat said,\n\n```\nbabil.initialize().then(babil.transpile)\n```\n\ndoes not look that bad either.\n\nIf you have any recommendations and thoughts, [feel free to create an issue](https://github.com/jsbites/babil/issues/new).\n\n## Requirements\n\nI haven’t checked; though I’m sure you’ll need a recent version of Node.JS (\u003e 5.x.x) because it’s using modern JavaScript syntax.\n\nFeel free to create a PR to make it backwards-compatible.\n\n## Usage Example\n\nFirst install `babil` via `npm`:\n\n```\nnpm install babil --save-dev\n```\n\nThen use it in your scripts:\n\n```\n#!/usr/bin/env node\n\n// file: PROJECT_ROOT/bin/transpile.js\n\nvar babil = require( 'babil' );\nvar transpile = babil.transpile;\nvar ROOT_PATH = require( 'path' ).join( __dirname, '..' );\n\n//\n// Assuming that `babel-cli` is “locally” installed in `PROJECT_ROOT/node_modules`\n// the following call transpiles all JS files inside `PROJECT_ROOT/lib`,\n// into `PROJECT_ROOT/release`.\n// It adds source maps to help debugging, too.\n//\nbabil\n    .initialize( { rootPath: ROOT_PATH } )\n    .then( transpile );\n```\n\n## Wanna Help?\n\nAny help is more than appreciated.\n\nIf you want to contribute to the source code, **fork this repository** and **create a pull request**.\n\n\u003e In lieu of a formal style guide, take care to maintain the existing coding style.\n\nAlso, don’t forget to add unit tests for any new or changed functionality.\n\nIf you want to report a bug; or share a comment or suggestion, [file an issue](https://github.com/jsbites/babil/issues/new).\n\n## I’ve Found a Bug; I Have an Idea\n\n[For bug reports and suggestions, please file an issue](https://github.com/jsbites/babil/issues/new).\n\n## Contact Information\n\n* **Project Maintainer**: [Volkan Özçelik](https://volkan.io/)\n* **Project Website**: [bytesized.tv](https://bytesized.tv/)\n\n## License\n\nMIT-licensed. — [See the license file for details](LICENSE.md).\n\n## Code of Conduct\n\nWe are committed to making participation in this project a harassment-free experience for everyone, regardless of the level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.\n\n[See the code of conduct for details](CODE_OF_CONDUCT.md).\n\n[vidcast]: https://bytesized.tv/\n[ticket]: https://github.com/jsbites/babil/issues/new\n\n## A [ByteSized.TV][vidcast] Project\n\nThis repository is a part of the [Byte-Sized JavaScript VideoCasts][vidcast].\n\nIt is a compilation of short (*around ten minutes*) screencasts about **JavaScript** and related technologies.\n\n[**Learn**, **explore**, and **have fun**][vidcast]!\n\n[vidcast]: https://bytesized.tv/ \"ByteSized.TV\"\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerotohero-dev%2Fbabil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzerotohero-dev%2Fbabil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerotohero-dev%2Fbabil/lists"}