{"id":18657973,"url":"https://github.com/lightsofapollo/6to5-playground.js","last_synced_at":"2025-07-23T08:33:40.085Z","repository":{"id":23932302,"uuid":"27313449","full_name":"lightsofapollo/6to5-playground.js","owner":"lightsofapollo","description":null,"archived":false,"fork":false,"pushed_at":"2014-11-29T22:47:47.000Z","size":172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-18T01:07:11.946Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lightsofapollo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-29T20:01:04.000Z","updated_at":"2014-11-29T22:47:48.000Z","dependencies_parsed_at":"2022-07-25T13:52:04.679Z","dependency_job_id":null,"html_url":"https://github.com/lightsofapollo/6to5-playground.js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lightsofapollo/6to5-playground.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2F6to5-playground.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2F6to5-playground.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2F6to5-playground.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2F6to5-playground.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightsofapollo","download_url":"https://codeload.github.com/lightsofapollo/6to5-playground.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2F6to5-playground.js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266645149,"owners_count":23961657,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-07T07:30:53.464Z","updated_at":"2025-07-23T08:33:40.033Z","avatar_url":"https://github.com/lightsofapollo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 6to5 Playground / Example\n\nFor a very long time now I wanted to write es6 with node but no\n\"transpiler\" has even come close to supporting both all the features\nthat make this worthwhile and have proper error/handling/ease of use.\n\n6to5 gets it very very close (maybe even right) this project itself is\nnot useful but demonstrates building a npm package (which can actually\nbe uploaded to npm) / testing of the package / error handling with\nproper sources.\n\n## Structure\n\n  - [src](./src)/* :\n      Your source code written in es6.\n\n  - [test](./test/)/* :\n      Your tests written in es6.\n\n  - [package.json](./package.json) :\n      Note the use of 6to5 as a prepublish step this will\n      transpile the code in \"src\" to \"dest\".\n\n  - [index.js](./index.js) :\n      The \"bootstrap\" module includes polyfills (which can be optional) and\n      re-exports the contents of \"build\". Note that source map support is\n      _not_ enabled here so it's easier to debug this without knowledge of how\n     this package was built.\n\n  - [test/entrypoint.js](./test/entrypoint.js) :\n      I Use mocha for testing this file configures 6to5's module loader for\n      testing (which enables source maps).\n\n## Usage\n\nRun the tests: `npm test`\nDeploy: `npm install` / `npm publish`\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Sahaja James Lal\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightsofapollo%2F6to5-playground.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightsofapollo%2F6to5-playground.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightsofapollo%2F6to5-playground.js/lists"}