open-index/open-npm huggingface dataset:
npm package: @simsieg/sleepjs
Description: Asynchronous sleep with better time functions
Author: Simon Siegert
Latest version: 1.0.0

# SleepJS

[![Build Status](https://travis-ci.org/simsieg/sleepjs.svg?branch=master)](https://travis-ci.org/simsieg/sleepjs) [![Coverage Status](https://coveralls.io/repos/github/simsieg/sleepjs/badge.svg?branch=master)](https://coveralls.io/github/simsieg/sleepjs?branch=master) <br />

Asyncronus sleep functions for Node.js.

## Installation

Install sleepjs with npm:

```bash
npm install sleepjs
```

Or with yarn:

```bash
yarn add sleepjs
```

## Usage

The default function sleeps for a time given in milliseconds.
But also different sleep functions can be required.

### Async / Await

The sleep timer can be awaited with async / await.

```javascript
const sleep = require('sleepjs')

async function myFunction () {
  await sleep(500)
  console.info('500 ms later')
}

myFunction()
```

### Promise

The Promise returns the value of slept milliseconds when it resolves.

```javascript
const sleepMinutes = require('sleepjs').sleepMinutes

function myFunction () {
  return sleepMinutes(5)
    .then(time => {console.info(`${time} ms later`)})
}

myFunction() // Will print: '300000 ms later'
```

### Concurrent

Different sleep instances can be run and awaited concurrently with `Promise.all`.

```javascript
const sleep = require('sleepjs')

async function myFunction () {
  await Promise.all([sleep(100), sleep(100), sleep(200)])
}

myFunction() // Will take only slightly more than 200 ms
```

## Functions

Sleepjs includes several functions to wrap common sleep times:

```javascript
const sleep = require('sleepjs').sleep
const sleepMilliseconds = require('sleepjs').sleepMilliseconds
const sleepSeconds = require('sleepjs').sleepSeconds
const sleepMinutes = require('sleepjs').sleepMinutes
const sleepHours = require('sleepjs').sleepHours
const sleepDays = require('sleepjs').sleepDays
```
npm package: @simsinfohub/pulsecss
Description: PulseCSS is a modern, lightweight CSS framework designed to streamline web development by providing a robust set of responsive and customizable components. Built with simplicity and performance in mind, PulseCSS empowers developers to create stylish and f
Author: k1nsej
Latest version: 1.0.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# pulsecss
npm package: @simspace/monorail
Description: SimSpace Design System
Latest version: 0.0.27

# 🚝 Monorail | Cyber Design System

Monorail for React helps developers execute the [Monorail Design Language](https://design.simspace.com). Developed by the core team of engineers and UX designers at SimSpace, these components enable a reliable development workflow to build beautiful and functional web projects.

## Quick Start

Add Monorail to your React application.

```
yarn add @simspace/monorail
```

You will also need our `peerDependencies`:

```
yarn add react react-dom styled-components
```

Check the accepted version range in `package.json` for compatibility.

Import the components you want and use them

```jsx
import { Button } from '@simspace/monorail/dist/visualComponents/buttons/Button'

...

render() {
  return (
    <Button>Monorail</Button>
  )
}
```

Check out our documentation site, [design.simspace.com](https://design.simspace.com) to see all the components that are available, and how to use them.

## Iconography

Some Monorail components need default icons from the Material Icon's set. Link the iconography font into your app:

`<link href=“https://fonts.googleapis.com/icon?family=Material+Icons” rel=“stylesheet”>`

## Typescript

When using Monorail with a typescript project, make sure to add the following line to the `compilerOptions` of your `tsconfig.json`:

```json
"skipLibCheck": true
```