You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

unicorn-magic

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unicorn-magic

Some useful utilities I often need

latest
Source
npmnpm
Version
0.4.0
Version published
Weekly downloads
26M
-13.08%
Maintainers
1
Weekly downloads
 
Created
Source

unicorn-magic

Some useful utilities I often need

I'm not accepting requests.

Install

npm install unicorn-magic

Usage

import {delay} from 'unicorn-magic';

await delay({seconds: 1});

console.log('1 second later');

You can also import from the /node sub-export to explicitly get the Node.js-specific utilities (useful for bundler compatibility):

import {toPath} from 'unicorn-magic/node';

API

See the Node.js types and default types.

Keywords

utilities

FAQs

Package last updated on 15 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts