Comments (5)
strange that this is not a problem in nft.storage
esm tests, but I will have a look
from ipfs-car.
yeah, i'll keep diggin too
from ipfs-car.
ah so the code needs to import writeFiles directly from ipfs-car so maybe it's that
import { writeFiles } from 'ipfs-car/unpack/fs'
import { Web3Storage } from 'web3.storage'
export default async function ({ input, flags }) {
const client = new Web3Storage({ token: 'test', endpoint: flags.api })
if (flags.get) {
const res = await client.get(flags.get)
writeFiles(res.unixFsIterator(), flags.output)
}
}
from ipfs-car.
we don't use ipfs-car/unpack/fs
in the dot-storages
from ipfs-car.
i'm pretty sure this worked at the start of the week.
from ipfs-car.
Related Issues (20)
- complete example for `packToBlob` HOT 1
- `packToStream` different input options HOT 2
- Handle hidden dot files and directories. HOT 1
- How to specify v0 for CIDs? HOT 1
- Upload CAR to IPFS without Web3.Storage or NFT.Storage HOT 1
- how to get content of one single file from directory with type file not raw HOT 2
- Add support for building --trickle tree HOT 2
- Error: Invalid CAR version: 2 HOT 1
- What steps are required to build this? HOT 1
- Tried packing files using ipfs-car and got folling error, pls help!! HOT 5
- ERROR - No command specified HOT 1
- Example from README "fetch and locally verify file..." fails HOT 1
- Specify CID version?
- Unsupported UnixFS type object for path
- ipfs-car cannot get hash of large car file it created
- Is unpacking files supported on browser? HOT 1
- Directories containing only directories are removed from path (different from go-car) HOT 1
- packToBlob support
- v0.9.2 types
- Can't install with node 20.11.1 on Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipfs-car.