Lines Matching refs:tarball
21 * [`tarball`](#tarball)
22 * [`tarball.stream`](#tarball-stream)
23 * [`tarball.toFile`](#tarball-to-file)
39 console.log('remote tarball contents extracted to ./here')
136 tarball.
149 #### <a name="tarball"></a> `> pacote.tarball(spec, [opts])`
155 * `pacote.tarball.stream(spec, [opts])` - Same as `pacote.tarball`, except it returns a stream inst…
156 * `pacote.tarball.toFile(spec, dest, [opts])` - Instead of returning data directly, data will be wr…
161 pacote.tarball('pacote@1.0.0', { cache: './my-cache' }).then(data => {
162 // data is the tarball data for pacote@1.0.0
166 #### <a name="tarball-stream"></a> `> pacote.tarball.stream(spec, [opts])`
168 Same as `pacote.tarball`, except it returns a stream instead of a Promise.
173 pacote.tarball.stream('pacote@1.0.0')
177 #### <a name="tarball-to-file"></a> `> pacote.tarball.toFile(spec, dest, [opts])`
179 Like `pacote.tarball`, but instead of returning data directly, data will be
185 pacote.tarball.toFile('pacote@1.0.0', './pacote-1.0.0.tgz')
186 .then(() => /* pacote tarball written directly to ./pacote-1.0.0.tgz */)
191 ##### THIS API IS DEPRECATED. USE `pacote.tarball()` INSTEAD
200 // ./my-cache now has both the manifest and tarball for `pacote@1.0.0`.
224 …es [`npm-packlist`](https://npm.im/npm-packlist) and [`tar`](https://npm.im/tar) to make a tarball.
227 `ReadableStream` that outputs packaged tarball data. Used when creating tarballs