The Wayback Machine - https://web.archive.org/web/20201115075754/https://github.com/topics/hash
Skip to content
#

hash

Here are 1,643 public repositories matching this topic...

peps
peps commented Feb 9, 2020

Hi, im trying to use Hashids with Typescript and Node.

import Hashids from 'hashids';

I'm not getting any Typescript errors in the editor, but Im getting this error when the code is compiled.

Using ts-node version 8.5.4, typescript version 3.7.5

`Error: No valid exports main found for 'node_modules\hashids'
at resolveExportsTarget (internal/modules/cjs/loader.js:625:9)

Improve this page

Add a description, image, and links to the hash topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the hash topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.