npm-package
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,063 public repositories matching this topic...
-
Updated
Jan 4, 2022 - TypeScript
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')) {
Port tests from Got
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
-
Updated
Nov 19, 2021 - JavaScript
-
Updated
Dec 22, 2021 - JavaScript
-
Updated
Jun 19, 2020 - JavaScript
-
Updated
Oct 24, 2021 - JavaScript
-
Updated
Sep 2, 2021 - JavaScript
-
Updated
Dec 28, 2021 - TypeScript
Fix the browsers!
The goal of this project is to make itself obsolete. We should try to get browsers to fix their own styles so we don't have to work around them indefinitely.
If you want to help out:
- Pick a style in
modern-normalize.css - Go to the relevant browser issue trackers ([Chrome](http://dev.chromium.org/for-test
-
Updated
Dec 3, 2021 - JavaScript
Please describe what the rule should do:
In Vue you can use test($event.detail) as well as event => test(event.detail) to achieve the same thing. 1. should be preferred.
test($event.detail)
<Component
@click="test($event.detail)"
/>event => test(event.detail)
<Component
@click="event => test(event.detail)"
/>**What category should
This is a follow-up to v2.0 #65 to switch the default parsing on supported systems so we support BigInt strings transparently.
-
Updated
Nov 15, 2021 - TypeScript
-
Updated
Sep 15, 2021 - JavaScript
-
Updated
Jan 28, 2019 - JavaScript
-
Updated
Sep 21, 2021 - JavaScript
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-
Updated
Dec 18, 2021 - JavaScript
-
Updated
Dec 18, 2021 - JavaScript
For popular things that makes sense. Suggestions welcome, but I'm not going to add more than maybe 30. So make it worth it.
Don't do a PR. I'll add them all at once when we've decided on what to include.
-
Updated
Dec 4, 2021 - JavaScript
-
Updated
Mar 23, 2018 - JavaScript
-
Updated
Dec 15, 2021 - TypeScript
-
Updated
Dec 21, 2021 - JavaScript
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
-
Updated
Sep 4, 2021
-
Updated
Jan 1, 2022 - TypeScript
Created by Isaac Z. Schlueter
Released January 12, 2010
- Organization
- npm
- Website
- www.npmjs.com
- Wikipedia
- Wikipedia



Bug
Unable to get into entries on the CMS to update my pages due to error page being presented. "TypeError: e.map is not a function"
To reproduce
I log in to Netlify CMS, navigate to pages, click on index and then am presented with the attached screenshot.
What I expect
I would expect to log in, navigate to pages, select the index page and be presented with editable boxes.