Skip to content
#

npm-package

npm logo

Npm is a package manager for JavaScript, included with Node.js. As a package manager, npm makes it easy for developers to share and reuse code.

Here are 3,560 public repositories matching this topic...

kirillgroshkov
kirillgroshkov commented May 13, 2020

I've read many similar closed issues, but haven't found a good documented solution on what can I do as a consumer of ky package if I need to support e.g iOS 10.0 browser (that breaks on async/await support currently).

I agree that it's not related to ky itself, but can be a nice help for the consumers of the package.

In our particular can we don't use babel (we use typescript), so I'm

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)

sindresorhus
sindresorhus commented Mar 14, 2019

My goal is to have the best documentation for each provided type.

If something is unclear in any of the types, please comment or open a PR to improve it.

Some things you could contribute:

  • Fix typos.
  • Improved description of the type.
  • More examples.
  • Provide more real-world use-cases. This helps the user understand where a type might come in handy.
  • Add links to relevant discu
Nevon
Nevon commented Jun 26, 2020

While the correlation id used to match network requests with responses is always supposed to be unique at any given time, some tests were misbehaving because that wasn't the case.

Since this is one of those things that should never happen, we could add an invariant that throws a non-retriable error if this happens anyway, since something has gone terribly wrong and we won't get valid results

Created by Isaac Z. Schlueter

Released January 12, 2010

Organization
npm
Website
www.npmjs.com
Wikipedia
Wikipedia
You can’t perform that action at this time.