{"id":16840740,"url":"https://github.com/nfischer/shelljs-plugin-sleep","last_synced_at":"2025-08-25T12:08:29.567Z","repository":{"id":10723452,"uuid":"66746000","full_name":"nfischer/shelljs-plugin-sleep","owner":"nfischer","description":":zzz: A ShellJS plugin for the sleep command","archived":false,"fork":false,"pushed_at":"2025-03-09T00:20:23.000Z","size":43,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T03:51:09.515Z","etag":null,"topics":["shelljs","shelljs-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nfischer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-28T02:45:13.000Z","updated_at":"2025-03-09T00:20:25.000Z","dependencies_parsed_at":"2024-06-21T05:14:11.994Z","dependency_job_id":"3fc41a03-5694-4c0e-8112-a79812cd7964","html_url":"https://github.com/nfischer/shelljs-plugin-sleep","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfischer%2Fshelljs-plugin-sleep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfischer%2Fshelljs-plugin-sleep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfischer%2Fshelljs-plugin-sleep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nfischer%2Fshelljs-plugin-sleep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nfischer","download_url":"https://codeload.github.com/nfischer/shelljs-plugin-sleep/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351425,"owners_count":21089271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["shelljs","shelljs-plugin"],"created_at":"2024-10-13T12:37:54.954Z","updated_at":"2025-04-11T05:50:52.779Z","avatar_url":"https://github.com/nfischer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shelljs-plugin-sleep\n\n[![GitHub Actions](https://img.shields.io/github/actions/workflow/status/nfischer/shelljs-plugin-sleep/main.yml?style=flat-square\u0026logo=github)](https://github.com/nfischer/shelljs-plugin-sleep/actions/workflows/main.yml)\n[![npm](https://img.shields.io/npm/v/shelljs-plugin-sleep.svg?style=flat-square)](https://www.npmjs.com/package/shelljs-plugin-sleep)\n[![shelljs-plugin](https://img.shields.io/badge/shelljs-plugin-brightgreen.svg?style=flat-square)](https://github.com/shelljs/shelljs/wiki/Using-ShellJS-Plugins)\n\nA [ShellJS](https://github.com/shelljs/shelljs) plugin for the `sleep()`\ncommand.\n\n## Installation\n\n```bash\n$ npm install --save shelljs\n$ npm install --save shelljs-plugin-sleep\n```\n\n## Usage\n\nTo use this plugin in your project, include it like so:\n\n```javascript\nvar shell = require('shelljs');\nrequire('shelljs-plugin-sleep');\n\n// Ex. usage:\nshell.sleep(1); // the plugin is now available!\n```\n\n### sleep(seconds)\n\nNo available options.\n\nExamples:\n\n```javascript\nshell.sleep(3); // sleep for 3000 milliseconds\n```\n\n## Supported systems\n\n - Linux (all variants)\n - OS X\n - Windows\n\nThis is only supported for Node v4+\n\n## Writing plugins\n\nIf you're interested in taking a look at the current state of the plugin API,\ntake a look at [index.js](index.js). This has helpful comments explaining the\nnecessary boilerplate for writing a plugin. For an example usage of the plugin,\ntake a look at [test/test.js](test/test.js).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfischer%2Fshelljs-plugin-sleep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnfischer%2Fshelljs-plugin-sleep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnfischer%2Fshelljs-plugin-sleep/lists"}