{"id":15879391,"url":"https://github.com/keyz/bn0","last_synced_at":"2025-03-16T09:33:38.816Z","repository":{"id":34093405,"uuid":"75264417","full_name":"keyz/bn0","owner":"keyz","description":"`bn0`: babel-node with pre-loaded nightly (stage-0) presets","archived":false,"fork":false,"pushed_at":"2023-01-03T17:27:57.000Z","size":312,"stargazers_count":4,"open_issues_count":8,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T17:53:51.958Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/keyz.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":"2016-12-01T06:52:55.000Z","updated_at":"2023-03-10T11:02:31.000Z","dependencies_parsed_at":"2023-01-15T04:36:00.493Z","dependency_job_id":null,"html_url":"https://github.com/keyz/bn0","commit_stats":null,"previous_names":["keyanzhang/babel-node-bin-stage-0","keyanzhang/bn0"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyz%2Fbn0","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyz%2Fbn0/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyz%2Fbn0/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keyz%2Fbn0/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keyz","download_url":"https://codeload.github.com/keyz/bn0/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243809875,"owners_count":20351407,"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-10-06T03:01:53.099Z","updated_at":"2025-03-16T09:33:38.241Z","avatar_url":"https://github.com/keyz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bn0 [![npm](https://img.shields.io/npm/v/bn0.svg)](https://www.npmjs.com/package/bn0)\n\n`bn0`: `bn0`: babel-node with pre-loaded presets\n\n```\n$ npm install -g bn0\n$ bn0 myFile.js\n```\n\nThis is a wrapper of [`@babel/node`](https://www.npmjs.com/package/@babel/node) that provides a `bn0` binary. `bn0` is a `babel-node` alternative with some commonly used presets pre-loaded. It comes with:\n\n- [`@babel/plugin-proposal-class-properties`](https://www.npmjs.com/package/@babel/plugin-proposal-class-properties)\n- [`@babel/preset-env`](https://www.npmjs.com/package/@babel/preset-env)\n- [`@babel/preset-flow`](https://www.npmjs.com/package/@babel/preset-flow)\n- [`@babel/preset-react`](https://www.npmjs.com/package/@babel/preset-react)\n\n## Why?\n\nFirst of all, it's no different than `babel-node` so don't use it in production.\n\nSay you wanna quickly _prototype_ some stuff using the latest JavaScript features, but:\n\n1. Installing `@babel/cli` and presets globally is [a bad idea](https://babeljs.io/docs/usage/cli/)\n2. Setting up a new project and adding `@babel/core`, `@babel/cli`, `@babel/preset-...` dependencies takes too much time\n\nGot it? `bn0` requires no configuration and doesn't pollute your local `require/import` calls. Just run your file with `bn0 myFile.js`, or use `bn0` itself for a REPL.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyz%2Fbn0","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeyz%2Fbn0","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyz%2Fbn0/lists"}