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,636 public repositories matching this topic...

mikestopcontinues
mikestopcontinues commented Sep 24, 2020

Preview links are not appearing for me because my CI/CD adds github metadata in the canonical location, but the github integration looks elsewhere.

Describe the bug

Currently, the Github integration looks at a commit status's contexts for a deploy url. The thing is, the canonical way to specify a deploy url is using environment deployments. So I think the integration should look at the e

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
kasamachenkaow
kasamachenkaow commented Oct 6, 2020

Right now the ISocketFactory type is mismatch with the real implementation

It is currently like this

export type ISocketFactory = (
  host: string,
  port: number,
  ssl: tls.ConnectionOptions,
  onConnect: () => void
) => net.Socket

while the real implementation is sending only 1 argument to it like this
https://kafka.js.org/docs/configuration#custom-socket-factory

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.