Return the last element in an array. Faster than `.slice`
- array
- last
- javascript
- nodejs
47,133 repositories indexed
49–61 of 61 · Most stars
Return the last element in an array. Faster than `.slice`
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
replaces link tags with inline style tags + inlines CSS url() calls with data URIs
Create Robust Links from within Zotero
Normalize values in package.json to improve compatibility, programmatic readability and usefulness with third party libs.
Script to control TP-Link HS100 & HS110 devices via MQTT
Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.
A simple HTTP proxy for the webdev serve command (a tool authored by the dart team) that adds support for rewriting certain requests, namely rewriting 404s to instead serve the root index (/index.html). This allows developers to work on browser applications (like our own) that use HTML5 routing while still being able to refresh and/or navigate directly to deep links.
Get the first element or first n elements of an array.
Example for handling multi-chain/account/device sessions using anchor-link
Bind a context to all functions in an object, including deeply nested functions.
Lightweight Svelte 5 router — declarative links, dynamic params with custom regex, wildcard routes, hash or HTML5 history modes. No SvelteKit, zero runtime dependencies.
Meteor package that allows you to expose your native iOS settings to enable Universal Links.