We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As I was making #73, I had the idea of restructuring the directories in the following way:
bin/
src/
index.js
dnslink/
cloudflare.js
sth-else.js
pinners/
infura.js
pinata.js
ipfs-cluster.js
From dnslink, all files would export the same api:
dnslink
updateSomethingDns(options)
From pinners, all files would export the same api:
pinners
// Setup Pinner const pinner = setupPinnerName(options) // Pin from file system const hash = await pinner.pin(dir, options) // Pin hash await pinner.pinHash(hash, options)
Otherwise:
// Setup Pinner const pin = setupPinnerName(options) // Pin from file system const hash = await pin(dir, options)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As I was making #73, I had the idea of restructuring the directories in the following way:
bin/
- as it is right now.src/
index.js
- move from the root.dnslink/
cloudflare.js
sth-else.js
pinners/
infura.js
pinata.js
ipfs-cluster.js
sth-else.js
From
dnslink
, all files would export the same api:From
pinners
, all files would export the same api:Otherwise:
The text was updated successfully, but these errors were encountered: