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

stefanprobst
stefanprobst commented Jun 20, 2021

Describe the bug

The markdown widget currently defaults to serializing links as autolinks if possible, i.e. [https://example.com](https://example.com) will be serialized as <https://example.com>. This is the default behavior of remark-stringify (and an option to change this behavior only exists in newer versions of remark-stringify).

Unfortunately, autolinks are [not compatible w

jonahsnider
jonahsnider commented Nov 1, 2020

Describe the bug

When using an image URL like https://bundlephobia.com/api/stats-image?name=convert&version=1.0.1&wide=true for a version that isn't published the image returns a placeholder, but the placeholder gets cached. After the version is published the placeholder image stays cached.

To Reproduce

Visit an image URL for a version that didn't exist at image generation time.

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
tobinibot
tobinibot commented Jan 8, 2021

While the README states that Hashids is ES5 compatible (https://github.com/niieani/hashids.js#use-as-global-in-the-browser-wherever-es5-is-supported-5kb), the library does not work in IE 11. IE 11, in my understanding, is almost ES5 compatible, enough so that I would expect Hashids to work in it.

The first error IE 11 throws is that it does not support Array.from. This method was introduce

yjhmelody
yjhmelody commented Mar 12, 2021

I use Array<Uint8Array> as a value. But The uint8Array is treated as string.

function arrayString(val) {
  var result = '{'
  for (var i = 0; i < val.length; i++) {
    if (i > 0) {
      result = result + ','
    }
    if (val[i] === null || typeof val[i] === 'undefined') {
      result = result + 'NULL'
    } else if (Array.isArray(val[i])) {
      result = result + arrayStr

Created by Isaac Z. Schlueter

Released January 12, 2010

Organization
npm
Website
www.npmjs.com
Wikipedia
Wikipedia