# phantom-deeplink-utils

> not production ready

Latest version **0.1.9** (published 2022-04-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install phantom-deeplink-utils
pnpm add phantom-deeplink-utils
yarn add phantom-deeplink-utils
bun add phantom-deeplink-utils
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.9 |
| Published | 2022-04-29 |
| First published | 2022-04-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 923.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | fidika |

## Links

- npm: https://www.npmjs.com/package/phantom-deeplink-utils
- npm.io page: https://npm.io/package/phantom-deeplink-utils

## Recent versions

- 0.1.9 (latest) — 2022-04-29
- 0.1.7 — 2022-04-27
- 0.1.6 — 2022-04-27
- 0.1.5 — 2022-04-27
- 0.1.4 — 2022-04-27
- 0.1.3 — 2022-04-26
- 0.1.2 — 2022-04-26
- 0.1.0 — 2022-04-26

## README

Don't install or use this library yet; I'm just playing with build-packages right now.

Give it a few days, thanks everyone.

## Issues with our build process:

1. if you do an default import, like `import something from 'rollup-hello-world2'` the typescript compiler will think it's going to work, and even provide type definitions for the `something` object, such as `something.functionName() => void`, however at runtime this will completely fail because our library has no default exports. However, this oddly works for .js files but not for .ts files, which is very confusing to me. It might be something I'm doing wrong for the typescript compiler that's importing the file.

2. It would be better if the types were exported to /dist/types rather than /dist/, but for some reason rollup seems hell-bent on exporting types to /dist/ and ignoring the tsconfig.json file.

3. For some reason 'yarn publish' inside of /library no longer works. npm publish works, and yarn publish used to work, but now it fails for unknown reasons.

4. TSconfig does not like how src/index is importing files for some reason https://stackoverflow.com/questions/60029058/project-must-list-all-files-or-use-an-include-pattern we are running into the same problem. It might be related to composite: true in tsconfig.json, however turning this on or off hasn't seemed to help at all.

Note: for usability of the library, I believe it is slightly better to have named exports in the index.ts rather than wild-card \* exports. However it's not a huge difference.

Scripts:
"postbuild": "echo {\"type\":\"commonjs\", \"types\":\"../../types/index.d.ts\"} | json > dist/cjs/package.json && echo {\"type\":\"module\", \"types\":\"../../types/index.d.ts\"} | json > dist/esm/package.json",

---
_Source: https://npm.io/package/phantom-deeplink-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
