jeffbski / ensure-array
Ensure that a javascript object is an array, coerce if necessary. Move error checking out of your node.js javascript code.
☆12Updated last year
Related projects: ⓘ
- Build an array of key paths from an object.☆17Updated 5 years ago
- Sort an object's keys, including an optional key list☆30Updated 4 years ago
- Additional PropTypes for React☆26Updated last week
- Small atomic bits for crafting webpack configs☆25Updated this week
- The Node.js `util.deprecate()` function with browser support☆38Updated 5 years ago
- Run svgr at build-time with babel-plugin-macros.☆43Updated last week
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Ellipsizes a string at the nearest whitespace character near the end of allowed length☆44Updated last year
- Powerful software development experience.☆12Updated last year
- tiny library to get timezone offsets for any IANA timezone using Intl☆23Updated 2 months ago
- Recursively expands property keys with dot-notation into objects.☆24Updated 6 years ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆65Updated 2 years ago
- Stylelint plugin for stylehacks linting☆13Updated 7 months ago
- Decompress a HTTP response if needed☆72Updated 3 months ago
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- Generate CSS from a JavaScript Object☆25Updated 8 years ago
- Stringify an object so it can be safely inlined in JavaScript code☆19Updated last month
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year
- Node filesystem spies and mocks☆47Updated last week
- Calculates a nested logical tree using a package.json and a package lock.☆44Updated 6 years ago
- ☆21Updated this week
- Array.prototype.includes spec-compliant polyfill☆43Updated 6 months ago
- Sort ES6 imports by type☆38Updated 6 years ago
- Give me a string and I'll tell you if it's a valid npm package license string☆24Updated 3 years ago
- JSON reviver/replacer methods for JavaScript Buffer type.☆12Updated 5 years ago
- React Storybook Addon to show component properties and stories into panels☆22Updated 6 years ago
- Node.js middleware to capture and modify response bodies☆22Updated 5 years ago
- Get the set npm registry URL☆53Updated 2 years ago
- A stylelint processor for linting CSS in markdown☆26Updated 2 years ago
- Finds an installed tool in node_modules/.bin folders from current up to the git root☆14Updated this week
- Take care of your spawn()☆79Updated 4 years ago