npm-ipfsify

Node.JS Package Management for the Distributed Web

Usage no npm install needed!

<script type="module">
  import npmIpfsify from 'https://cdn.skypack.dev/npm-ipfsify';
</script>

README

npm-ipfsify

Node.JS Package Management for the Distributed Web

Converting Package

Install npm-ipfsify:

npm install npm-ipfsify

Convert package from NPM to IPFS:

npm-ipfsify hello-world-npm

Convert specific version of package:

npm-ipfsify hello-world-npm@1.1.1

Using Converted Packages

const helloWorld = require("/ipfs/QmZ1KUC97ayyG7xCEKLP8C5twSwaGG4tbFXVeQfQTqskPy");

console.log(helloWorld.helloWorld());