{"id":20671140,"url":"https://github.com/allnulled/nosf","last_synced_at":"2026-04-24T07:34:19.159Z","repository":{"id":213364816,"uuid":"733896796","full_name":"allnulled/nosf","owner":"allnulled","description":"Kit of packages and utilities to write scripts in Node.js. NOSF stands for «Node.js OS Scripting Framework».","archived":false,"fork":false,"pushed_at":"2023-12-22T23:57:39.000Z","size":412,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T12:30:36.239Z","etag":null,"topics":["os-scripting"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/nodejs-os-scripting-framework","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allnulled.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-20T11:31:17.000Z","updated_at":"2023-12-20T12:53:54.000Z","dependencies_parsed_at":"2024-11-20T12:47:03.927Z","dependency_job_id":"45f2ef2d-4c1d-4517-b939-be086598291c","html_url":"https://github.com/allnulled/nosf","commit_stats":null,"previous_names":["allnulled/nosf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/allnulled/nosf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fnosf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fnosf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fnosf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fnosf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allnulled","download_url":"https://codeload.github.com/allnulled/nosf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fnosf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32214417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["os-scripting"],"created_at":"2024-11-16T20:25:24.751Z","updated_at":"2026-04-24T07:34:19.142Z","avatar_url":"https://github.com/allnulled.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nodejs-os-scripting-framework\n\nThe **Node.js OS Scripting Framework** is a kit of utilities and packages to write *Node.js-based scripts* for the *operative system*.\n\n## Installation\n\n```sh\nnpm install --save nodejs-os-scripting-framework\n```\n\n## Explanation\n\nThis package is a unification of some of the most used utilities in Node.js when writting scripts for the operative system. One by one, their reason to be part of this package are:\n\n - [adm-zip](https://www.npmjs.com/package/adm-zip): to zip and unzip files.\n - [chalk](https://www.npmjs.com/package/chalk): to print colors by console.\n - [cli-table](https://www.npmjs.com/package/cli-table): to print tables by console.\n - [download](https://www.npmjs.com/package/download): to download files from the net.\n - [fs-extra](https://www.npmjs.com/package/fs-extra): to carry complex filesystem operations easily.\n - [globby](https://www.npmjs.com/package/globby): to find files by glob patterns.\n - [inquirer](https://www.npmjs.com/package/inquirer): to have a kit of complex user inputs.\n - [readline-sync](https://www.npmjs.com/package/readline-sync): to ask user for inputs.\n - [spinnies](https://www.npmjs.com/package/spinnies): to show spinners easily.\n - [which](https://www.npmjs.com/package/which): to find executables in the system, or not.\n - [xlsx](https://www.npmjs.com/package/xlsx): to read and write Excel files.\n\n## Dependencies\n\nThe dependencies are the following:\n\n```js\n  \"adm-zip\": \"^0.5.10\",\n  \"chalk\": \"^5.3.0\",\n  \"download\": \"^8.0.0\",\n  \"fs-extra\": \"^11.2.0\",\n  \"globby\": \"^14.0.0\",\n  \"inquirer\": \"^9.2.12\",\n  \"readline-sync\": \"^1.4.10\",\n  \"spinnies\": \"^0.5.1\",\n  \"which\": \"^4.0.0\",\n  \"xlsx\": \"^0.18.5\"\n```\n\n## References\n\nThe references of the included packages are on:\n\n - [https://www.npmjs.com/package/adm-zip](https://www.npmjs.com/package/adm-zip)\n - [https://www.npmjs.com/package/chalk](https://www.npmjs.com/package/chalk)\n - [https://www.npmjs.com/package/cli-table](https://www.npmjs.com/package/cli-table)\n - [https://www.npmjs.com/package/download](https://www.npmjs.com/package/download)\n - [https://www.npmjs.com/package/fs-extra](https://www.npmjs.com/package/fs-extra)\n - [https://www.npmjs.com/package/globby](https://www.npmjs.com/package/globby)\n - [https://www.npmjs.com/package/inquirer](https://www.npmjs.com/package/inquirer)\n - [https://www.npmjs.com/package/readline-sync](https://www.npmjs.com/package/readline-sync)\n - [https://www.npmjs.com/package/spinnies](https://www.npmjs.com/package/spinnies)\n - [https://www.npmjs.com/package/which](https://www.npmjs.com/package/which)\n - [https://www.npmjs.com/package/xlsx](https://www.npmjs.com/package/xlsx)\n\n## Usage\n\nTo use any of these packages, you can directly:\n\n```js\nconst nosf = require(\"nodejs-os-scripting-framework\");\nawait nosf.load(); // Esta línea normaliza los imports de algunos paquetes\nconst {\n  admZip,\n  chalk,\n  cliTable\n  download,\n  fsExtra,\n  globby,\n  inquirer,\n  readlineSync,\n  spinnies,\n  which,\n  xlsx,\n} = nosf;\n```\n\nYou can find also the functions:\n\n- `nosf.executeSync(command, options)`\n- `nosf.executeAsync(command, options)`\n- `await nosf.findFilesAsync(glob_pattern)`\n- `await nosf.dumpToExcel(file, array_of_objects)`\n\n## Tests\n\nTake a look to the [`test/test.js`](./test/test.js) file to see them in action in a fast mocha test.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallnulled%2Fnosf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallnulled%2Fnosf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallnulled%2Fnosf/lists"}