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

ids

Here are 259 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 ids 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 ids topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.