Installations
npm install bit-bin
Developer Guide
Typescript
No
Module System
CommonJS
Min. Node Version
>=10.0.0
Node Version
10.6.0
NPM Version
6.1.0
Releases
Contributors
Languages
TypeScript (91.84%)
MDX (5.38%)
JavaScript (1.56%)
SCSS (1.01%)
Shell (0.12%)
PowerShell (0.05%)
CSS (0.02%)
Dockerfile (0.01%)
Ruby (0.01%)
Developer
Download Statistics
Total Downloads
1,206,733
Last Day
39
Last Week
502
Last Month
3,721
Last Year
154,387
GitHub Statistics
17,947 Stars
14,624 Commits
935 Forks
180 Watching
42 Branches
74 Contributors
Package Meta Information
Latest Version
14.8.8
Package Id
bit-bin@14.8.8
Unpacked Size
4.00 MB
Size
818.81 kB
File Count
1,967
NPM Version
6.1.0
Node Version
10.6.0
Total Downloads
Cumulative downloads
Total Downloads
1,206,733
Last day
-9.3%
39
Compared to previous day
Last week
-50.5%
502
Compared to previous week
Last month
-10.4%
3,721
Compared to previous month
Last year
69.2%
154,387
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
160
Dev Dependencies
60
Website | Docs | Community | Bit Cloud
Bit is a complete solution for building composable software. It simplifies the creation, maintenance and reuse of software using independent and reusable components.
You can use Bit components to build new projects or reuse components to modernize your existing applications. Here are few examples to components people build with Bit:
- Reusable components
- Backend services
- Design systems
- Composable platforms
- Shell applications
- Micro frontends
Bit supports all tooling in the JS ecosystem and comes out of the box with official dev environments for NodeJS, React, Angular, Vue, React Native, NextJS and far more. All are native to TypeScript and ESM and equipped with the best dev tooling.
Bit is a fit to every codebase structure. You can use Bit components in a monorepo, polyrepo, or even without repositories at all.
Getting started
Install Bit
Use the Bit installer to install Bit to be available on your PATH.
1npx @teambit/bvm install
Initialize Bit on a new folder or in an existing project by running the following command:
1bit init --default-scope my-org.my-project
Make sure to create your scope on the Bit platform and use the right org and project name. After running the command, Bit is initialized on the chosen directory, and ready to be used via Bit commands, your editor or the Bit UI!
Create components
Start creating components using the default component generators, or create your own.
1bit templates
The following command uses the React UI component template to create a new reusable React component:
1bit create react hello-world
You can find simple guides for creating NodeJS modules, UI components and apps, backend services and more on the Create Component docs. Run the Bit UI to preview components using the following command:
bit start
Use bit run
to preview applications during development. To create an application, follow the Create App docs section.
Use components
After creating a new component, start using it by adding an import statement in one of your workspace components.
1import { Button } from '@org/scope-name.buttons.button';
Once added, Bit will autodetect the dependency between these components. Use bit show
or the VSCode plugin to view the list of dependencies Bit detected for your components.
Release components
You can either use hosted scopes on Bit Cloud or by hosting scopes on your own. Use the following command to create your Bit Cloud account and your first scope.
1bit login
Use semantic versioning to version your components:
1bit tag --message "my first release" --major
By default, Bit uses Ripple CI to build components. You can use the --build
flag to build the components on the local machine. To tag and export from your CI of choice to automate the release process or use our official CI scripts.
After versioning, you can proceed to release your components:
1bit export
Head over to your bit.cloud account to see your components build progress. Once the build process is completed, the components will be available for use using standard package managers:
1npm install @my-org/my-project.hello-world
Next steps
Contributors
Bit is entirely built with Bit and you can find all its components on Bit Cloud.
Your contribution, no matter how big or small, is much appreciated. Before contributing, please read the code of conduct.
See Contributing.
License
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
Found 16/30 approved changesets -- score normalized to 5
Reason
no effort to earn an OpenSSF best practices badge detected
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
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: containerImage not pinned by hash: scripts/docker-teambit-bit/Dockerfile-bit:2
- Warn: containerImage not pinned by hash: scripts/docker-teambit-bit/Dockerfile-bit-non-root:2
- Warn: containerImage not pinned by hash: scripts/docker-teambit-bit/Dockerfile-bit-server:2
- Warn: containerImage not pinned by hash: scripts/linux/centos/Dockerfile:1: pin your Docker image by updating centos to centos@sha256:a27fd8080b517143cbbbab9dfb7c8571c40d67d534bbdee55bd6c473f432b177
- Warn: containerImage not pinned by hash: scripts/linux/debian/Dockerfile:1: pin your Docker image by updating debian to debian@sha256:17122fe3d66916e55c0cbd5bbf54bb3f87b3582f4d86a755a0fd3498d360f91b
- Warn: npmCommand not pinned by hash: scripts/docker-teambit-bit/Dockerfile-bit:5
- Warn: npmCommand not pinned by hash: scripts/docker-teambit-bit/Dockerfile-bit-non-root:7
- Warn: downloadThenRun not pinned by hash: scripts/linux/centos/Dockerfile:2
- Warn: npmCommand not pinned by hash: scripts/linux/centos/Dockerfile:7
- Warn: downloadThenRun not pinned by hash: scripts/linux/debian/Dockerfile:3
- Warn: npmCommand not pinned by hash: scripts/linux/debian/Dockerfile:6
- Warn: npmCommand not pinned by hash: scripts/bootstrap-env-ubuntu.sh:10
- Warn: npmCommand not pinned by hash: scripts/build-tar.sh:10
- Info: 0 out of 5 containerImage dependencies pinned
- Info: 0 out of 6 npmCommand dependencies pinned
- Info: 0 out of 2 downloadThenRun dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 16 are checked with a SAST tool
Reason
39 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5
- Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-wm7h-9275-46v2
- Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc
- Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx
- Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27
- Warn: Project is vulnerable to: GHSA-33f9-j839-rf8h
- Warn: Project is vulnerable to: GHSA-c36v-fmgq-m8hx
- Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq
- Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488
- Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w
- Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j
- Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg
- Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p
- Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-w5p7-h5w8-2hfq
- Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3
- Warn: Project is vulnerable to: GHSA-9m6j-fcg5-2442
- Warn: Project is vulnerable to: GHSA-hh27-ffr2-f2jc
- Warn: Project is vulnerable to: GHSA-rqff-837h-mm52
- Warn: Project is vulnerable to: GHSA-8v38-pw62-9cw2
- Warn: Project is vulnerable to: GHSA-hgjh-723h-mx2j
- Warn: Project is vulnerable to: GHSA-jf5r-8hm2-f872
- Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
Score
3.8
/10
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to bit-bin
sass-bin-linux-64
The Linux 64-bit binary for sass-bin, a Sass compiler.
ebit-bin
<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b
sass-bin-windows-64
The Windows 64-bit binary for sass-bin, a Sass compiler.
sass-bin-darwin-64
The macOS 64-bit binary for sass-bin, a Sass compiler.