extra-sleep

Synchronous and asynchronous sleep methods.

https://github.com/nodef/extra-sleep

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.0%) to scientific vocabulary

Keywords

extra sleep sleep-sync
Last synced: 6 months ago · JSON representation

Repository

Synchronous and asynchronous sleep methods.

Basic Info
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
extra sleep sleep-sync
Created almost 4 years ago · Last pushed 10 months ago
Metadata Files
Readme License Citation

README.md

sleep is a command in Unix-like operating systems that suspends program execution for specified time. This package provides both a synchronous and an asynchronous method for sleeping without doing a busy wait. The synchronous sleep is achieved using Atomics.wait(), and the asynchronous one is achived using Promisified setTimeout().

▌ 📦 JSR, 📰 Docs,


```javascript import {sleep, sleepSync} from "jsr:@nodef/extra-sleep";

console.log('Turn on Alarm'); await sleep(1000); console.log('Turn on Shower'); sleepSync(1e+6); // And relax! ```



Index

| Name | Description | | ---- | ---- | | sleep | Sleep for specified time (async). | | sleepSync | Sleep for specified time. |



References




ORG

Owner

  • Name: nodef
  • Login: nodef
  • Kind: organization

A summary of programs made with Node.js.

GitHub Events

Total
  • Issues event: 2
  • Delete event: 1
  • Push event: 24
  • Create event: 2
Last Year
  • Issues event: 2
  • Delete event: 1
  • Push event: 24
  • Create event: 2

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 35
  • Total Committers: 1
  • Avg Commits per committer: 35.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Subhajit Sahu w****7@g****m 35

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: 7 minutes
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: 7 minutes
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • wolfram77 (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 3
  • Total downloads:
    • npm 79 last-month
  • Total dependent packages: 9
    (may contain duplicates)
  • Total dependent repositories: 3
    (may contain duplicates)
  • Total versions: 150
  • Total maintainers: 1
npmjs.org: extra-sleep

Sleep for specified time.

  • Versions: 55
  • Dependent Packages: 7
  • Dependent Repositories: 3
  • Downloads: 62 Last month
Rankings
Dependent packages count: 2.8%
Dependent repos count: 6.4%
Downloads: 10.2%
Average: 11.1%
Forks count: 15.4%
Stargazers count: 21.0%
Maintainers (1)
Last synced: 7 months ago
npmjs.org: extra-sleep.web

Sleep for specified time {web}.

  • Versions: 53
  • Dependent Packages: 1
  • Dependent Repositories: 0
  • Downloads: 6 Last month
Rankings
Downloads: 12.6%
Dependent packages count: 16.2%
Forks count: 17.4%
Average: 18.7%
Stargazers count: 22.2%
Dependent repos count: 25.3%
Maintainers (1)
Last synced: 6 months ago
npmjs.org: extra-sleep.sh

Sleep for specified time.

  • Versions: 42
  • Dependent Packages: 1
  • Dependent Repositories: 0
  • Downloads: 11 Last month
Rankings
Downloads: 13.9%
Dependent packages count: 16.2%
Forks count: 20.5%
Average: 20.6%
Dependent repos count: 25.3%
Stargazers count: 27.1%
Maintainers (1)
Last synced: 6 months ago

Dependencies

package-lock.json npm
  • 339 dependencies
package.json npm
  • @rollup/plugin-commonjs ^22.0.2 development
  • @rollup/plugin-node-resolve ^13.3.0 development
  • @types/jest ^28.1.6 development
  • @types/node ^18.6.4 development
  • extra-build ^2.2.27 development
  • jest ^28.1.3 development
  • rollup-plugin-cleanup ^3.2.1 development
  • rollup-plugin-dts ^4.2.2 development
  • ts-jest ^28.0.7 development
.github/workflows/ci.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v2 composite
  • coverallsapp/github-action master composite
  • paambaati/codeclimate-action v3.0.0 composite
.github/workflows/pr.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v2 composite