The Wayback Machine - https://web.archive.org/web/20220226095701/https://github.com/topics/npm-package
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 5,242 public repositories matching this topic...

panbanda
panbanda commented Feb 7, 2022

Is your feature request related to a problem? Please describe.

Uploading an image with uploadcare doesn't allow me to set a cdnBase or cdnURL or something similar for custom URLs. When I upload an image it is forcing the company's cdn instead.

Describe the solution you'd like

The settings in config.json should be something like:

  media_library: {
    name: 'uploadcare
brighttank
brighttank commented Aug 9, 2021

For some reason Amazon REST api's require the content-type to be set to "application/x-amz-json-1.1" instead of the standard "application/json"

Currently the content-type header is set automatically for json data overriding any headers passed in to the request.

It would be useful to first check if the header is set before overriding it:

if (!this.request.headers.set('content-type')) {
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
FloEdelmann
FloEdelmann commented Feb 9, 2022

Please describe what the rule should do:
In a prop definition with multiple allowed types, the rule suggests to put Boolean first to allow shorthand boolean props (see #775, #1781, #1796).

What category should the rule belong to?
[ ] Enforces code style (layout)
[x] Warns about a potential error (problem)
[ ] Suggests an alternate way of doing something (suggestion)
[ ] Other (pl

E-Mud
E-Mud commented Feb 5, 2019

Currently, InfiniteScroll adds the scroll listeners only when mounting. That means that if the scroll target (whether it's specified or default to window) changes, the component won't request a new page load if there's some scroll in the new target.

I guess the solution is to check in componentWillReceiveProps if there's some change in target, and if it's the case, remove the current lis

Created by Isaac Z. Schlueter

Released January 12, 2010

Organization
npm
Website
www.npmjs.com
Wikipedia
Wikipedia