# tarball use case?

**URL:** <https://talk.observablehq.com/t/tarball-use-case/2237>\
**Category:** Uncategorized\
**Created:** [August 6, 2019, 6:24pm UTC](https://talk.observablehq.com/t/tarball-use-case/2237 "2019-08-06T18:24:35Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [August 22, 2019, 6:04pm UTC](https://talk.observablehq.com/t/tarball-use-case/2237/7 "2019-08-22T18:04:02Z")

</div>

Importing notebooks as [tarball dependencies](https://docs.npmjs.com/files/package.json#urls-as-dependencies) with npm is discussed here:

> [@Package integrity and yarn.lock/package-lock.json](https://talk.observablehq.com/t/package-integrity-and-yarn-lock-package-lock-json/2300):
>
> Hi, I’m embedding a notebook ([Tissot’s indicatrix](https://observablehq.com/@fil/tissots-indicatrix)) as a dependency of my project. My package.json file contains: "dependencies": { "@fil/tissots-indicatrix": "https://api.observablehq.com/@fil/tissots-indicatrix.tgz?v=3" }, and I’m able to install with npm install. But if I version the package-lock.json file (or the yarn.lock file), clone the repository on another machine and launch npm install, I get an integrity error, since the tissots-indicatrix.tgz file obtained on that machine …

---

_[View the full topic](https://talk.observablehq.com/t/tarball-use-case/2237)._
