npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

iim

v0.8.2

Published

IPFS install manager

Downloads

31

Readme

iim

https://youtu.be/C7A3-ycCRWU

codecov CI

IPFS install manager

About

Example - Use the latest version of Kubo

$ iim use kubo
✔ selected kubo version 0.24.0
✔ installed kubo 0.24.0
✔ installed binary at /Users/alan/.iim/dists/[email protected]/ipfs
✔ initialized IPFS at /Users/alan/.iim/[email protected]
✔ configured IPFS
✔ symlinked /Users/alan/.iim/dists/[email protected]/ipfs -> /Users/alan/.iim/dists/current
✔ symlinked /Users/alan/.iim/dists/[email protected]/ipfs -> /usr/local/bin/ipfs
🚀 IPFS is ready to use

$ ipfs version
kubo version: 0.24.0

Example - Use Kubo at version 0.23.0

$ iim use kubo 0.23
✔ selected kubo version 0.23.0
✔ installed kubo 0.23.0
✔ installed binary at /Users/alan/.iim/dists/[email protected]/ipfs
✔ initialized IPFS at /Users/alan/.iim/[email protected]
✔ configured IPFS
✔ symlinked /Users/alan/.iim/dists/[email protected]/ipfs -> /Users/alan/.iim/dists/current
✔ symlinked /Users/alan/.iim/dists/[email protected]/ipfs -> /usr/local/bin/ipfs
🚀 IPFS is ready to use

$ ipfs version
kubo version: 0.24.0

How does it work?

A new repo is created and used for each implementation/version combination at ~/.iim/[email protected], for example.

Adds a symlink at /usr/local/bin/ipfs that points to a script that runs IPFS with IPFS_PATH set to ~/.iim/[email protected].

IPFS is installed to ~/.iim/dists/[email protected]/node_modules/ipfs or ~/.iim/dists/[email protected]/node_modules/go-ipfs-dep for example.

Common issues

Failed to symlink

Looks like this:

$ iim use kubo
✔ selected kubo version 0.4.18
✔ installed kubo 0.4.18
✔ installed binary at /home/dave/.iim/dists/[email protected]/ipfs
✔ initialized IPFS at /home/dave/.iim/[email protected]
✔ symlinked /home/dave/.iim/dists/[email protected]/ipfs -> /home/dave/.iim/dists/current
✖ failed to symlink /home/dave/.iim/dists/[email protected]/ipfs -> /usr/local/bin/ipfs
💥 failed to link binary at /usr/local/bin/ipfs, try running sudo iim link

Don't worry! Mostly everything worked fine - you just don't have permission to write to /usr/local/bin! Just run sudo iim link and it'll try again to create that symlink.

Feel free to dive in! Open an issue or submit PRs.

Install

$ npm i iim

Note: Windows not yet supported!

API Docs

License

MIT © Alan Shaw

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.