Displaying 1 to 11 from 11 results

pkg-ok - Prevents publishing a module with bad paths :ok_hand:

  •    Javascript

Because it happened to me more than I'd like to admit 😅, pkg-ok checks main and bin paths and prevents publishing if there's a bad path.

resolve-pkg - Resolve the path of a package regardless of it having an entry point

  •    Javascript

Some packages like CLI tools and grunt tasks don't have a entry point, like "main": "foo.js" in package.json, resulting in them not being resolvable by require.resolve(). Unlike require.resolve(), this module also resolves packages without an entry point, returns null instead of throwing when the module can't be found, and resolves from process.cwd() instead __dirname by default.What you would use in require().

get-rgba-palette - gets a palette of prominent colors from an array of pixels

  •    Javascript

Gets a palette of prominent colors from a flat array of RGBA pixels.Gets an array of RGB colors from an image (pixels is a flat RGBA array). Defaults to a count of 5 colors and a quality setting of 10.


  •    Javascript

MainLoop.js provides a well-constructed main loop useful for JavaScript games and other animated or time-dependent applications. The main loop is a core part of any application in which state changes over time. In games, it is typically responsible for computing physics and AI as well as drawing the result on the screen.

webpack-directory-name-as-main - Teach webpack to use the name of the directory as the main file for a module

  •    Javascript

Teach webpack to use a file with the same name as the directory if that directory is required and it doesn't have an index.js file.

Kommander-iOS - A lightweight, pure-Swift library for manage the task execution in different threads

  •    Swift

Kommander is a Swift library to manage the task execution in different threads. Through the definition a simple but powerful concept, Kommand. Inspired on the Java library Kommander from Wokdsem.

electron-main-notification - Display notifications from an Electron main process

  •    Javascript

Easily display native desktop applications from your Electron main process. Because Notifications use the HTML 5 Notification API, this usually only works from renderer processes.

MainThreadGuard - :guardsman: Tracking UIKit access on main thread

  •    Swift

Xcode 9+ has Main Thread Checker, which detects invalid use of AppKit, UIKit, and other APIs from a background thread.

vdom-live - Re-render virtual DOM when interesting things (page events) happen, without observables

  •    Javascript

Render virtual DOM as an element and then keep updating it as interesting things (page events) happen, without observables. Uses requestAnimationFrame to queue and debounce re-renders. Cleans up event listeners when root element is removed from the document tree.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.