{"id":18993573,"url":"https://github.com/shwibi/shwi-js","last_synced_at":"2026-05-10T07:44:00.017Z","repository":{"id":42635854,"uuid":"377560224","full_name":"Shwibi/shwi-js","owner":"Shwibi","description":"A node module that makes coding in javascript easier! Feel free to open an issue or start a discussion with suggestions, etc!","archived":false,"fork":false,"pushed_at":"2023-01-07T08:26:06.000Z","size":189,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-19T03:39:43.102Z","etag":null,"topics":["node","node-js","node-module","nodejs","npm","npm-package","shwi-js","shwijs","super-js"],"latest_commit_sha":null,"homepage":"","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/Shwibi.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}},"created_at":"2021-06-16T16:26:52.000Z","updated_at":"2021-12-22T16:37:40.000Z","dependencies_parsed_at":"2023-02-06T16:31:07.828Z","dependency_job_id":null,"html_url":"https://github.com/Shwibi/shwi-js","commit_stats":null,"previous_names":["shwibi/super-js"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/Shwibi/shwi-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shwibi%2Fshwi-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shwibi%2Fshwi-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shwibi%2Fshwi-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shwibi%2Fshwi-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shwibi","download_url":"https://codeload.github.com/Shwibi/shwi-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shwibi%2Fshwi-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281047794,"owners_count":26435124,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["node","node-js","node-module","nodejs","npm","npm-package","shwi-js","shwijs","super-js"],"created_at":"2024-11-08T17:22:11.544Z","updated_at":"2025-10-26T01:37:13.045Z","avatar_url":"https://github.com/Shwibi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shwi-js @1.1.3-beta.3\n\nAll updates and documentation on the [Wiki](https://github.com/Shwibi/shwi-js/wiki). Please refer to the wiki for latest updated docs. \\\n[Release Notes](./ReleaseNotes.md) \\\nFeel free to open an [Issue](https://github.com/Shwibi/shwi-js/issues) if you find anything wrong in the module! Or open a new [Discussion](https://github.com/Shwibi/shwi-js/discussions) if you have any suggestions, or just want to give a feedback!\n\n## Installation\n\n```\nnpm i shwi-js\n```\n\n## What is shwi-js?\n\nShwi-js is an easy to use npm module that allows you to make your javascript code better! It makes many things easier, and has many new classes and functions that are usually very annoying to code!\n\n## Usage\n\n```js\nconst shwijs = require(\"shwi-js\");\n```\n\nJust require the shwi js module, and get to coding!\n\n## Feature list\n\nLatest feature update: `1.1.3-beta.2`\n\n**Please refer to the [Docs(wiki)](https://github.com/Shwibi/shwi-js/wiki) for proper documentation and updates** \\\n[Main Class](#main-class) \\\n[Random integer and items](https://github.com/Shwibi/shwi-js/wiki/Random) \\\n[Err](https://github.com/Shwibi/shwi-js/wiki/Error) \\\n[Stack](https://github.com/Shwibi/shwi-js/wiki/Stack) \\\n[Colors](https://github.com/Shwibi/shwi-js/wiki/Colors) \\\n[Parser](https://github.com/Shwibi/shwi-js/wiki/Parser) \\\n[Tank](https://github.com/Shwibi/shwi-js/wiki/Tank) \\\nRandom Integer Generators \\\nKill Function \\\n[Countdown](https://github.com/Shwibi/shwi-js/wiki/Countdown) \\\n[Physics](https://github.com/Shwibi/shwi-js/wiki/Physics) \\\nClock\n\n## Main class\n\n```js\nconst shwijs = require(\"shwi-js\");\nclass MyClass extends shwijs.Main {\n  constructor() {\n    super(\"MyClass\");\n    this.Log(\"Hello!\");\n  }\n}\nconst myClassInstance = new MyClass();\n// Logs [Node/your_project_name/MyClass]: Hello to the console\n```\n\nTo change the project name, you can do `shwijs.Main.APP_NAME = \"whatever you want\"`!\n(By default, it takes the project name from your package.json file)\n\nYou can also pass in multiple names for the class `super()` function, if you're making class that is supposed to be part of another class:\n\n```js\nconst shwijs = require(\"shwi-js\");\nclass MyClass extends shwijs.Main {\n  constructor(name) {\n    super(\"MyClass\", name);\n  }\n}\nconst myClassInstance = new MyClass();\nclass MyClassSubset extends MyClass {\n  constructor() {\n    super(\"SubsetA\");\n    this.Log(\"Hello!\");\n  }\n}\nconst myClassSubsetInstance = new MyClassSubset();\n// Logs [Node/app_name/MyClass/SubsetA]: Hello! to the console\n```\n\nYou can also manually change the `app_name` in the console logs using `Main.SetAppName(name)` method! \\\n**NOTE**: This is a static method.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshwibi%2Fshwi-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshwibi%2Fshwi-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshwibi%2Fshwi-js/lists"}