thangngoc89 / Openit.io
Open source code of a package on npm/rubygems/crates and more
Stars: ✭ 10
Programming Languages
javascript
184084 projects - #8 most used programming language
open.io
View hosted source code of packages.
Usage
https://openit.io/<alias>/<package-name>
npm (Javascript)
Aliases: /npm, /js, /javascript, undefined
- Normal package: https://openit.io/js/preact
- Scoped package: https://openit.io/js/@phenomic/core
- Anything above without the alias is valid for npm: https://openit.io/preact
Packagist (PHP)
Aliases: /php, /packagist, /composer
Crates (Rust)
Aliases: /cargo, /crate, /crates, /rust
- https://openit.io/rust/libc
- https://openit.io/cargo/libc
- https://openit.io/crates/libc
- https://openit.io/crate/libc
Power users
Add these function to your .bashrc/.profile:
Openit right from CLI
function openit() {
open "http://openit.io/$1"
}
Then call it like this:
$ openit js/preact
Git clone with openit
function clone() {
git clone $(curl -Ls -o /dev/null -w %{url_effective} https://openit.io/$1)
}
Then call it like this:
$ clone js/preact
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].