{"id":20963498,"url":"https://github.com/ialopezg/corejs","last_synced_at":"2026-04-29T02:05:54.349Z","repository":{"id":39448961,"uuid":"489575942","full_name":"ialopezg/CoreJS","owner":"ialopezg","description":"Custom tools for NodeJS","archived":false,"fork":false,"pushed_at":"2024-04-11T13:15:20.000Z","size":1738,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-20T12:03:13.693Z","etag":null,"topics":["sdk","sdk-js"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ialopezg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"ialopezg","patreon":"ialopezg","open_collective":"ialopezg","ko_fi":"ialopezg","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://www.paypal.me/isidrolopezg"]}},"created_at":"2022-05-07T05:17:44.000Z","updated_at":"2023-10-10T19:33:54.000Z","dependencies_parsed_at":"2023-12-04T15:45:31.209Z","dependency_job_id":null,"html_url":"https://github.com/ialopezg/CoreJS","commit_stats":{"total_commits":105,"total_committers":1,"mean_commits":105.0,"dds":0.0,"last_synced_commit":"458d57ea1513e3e26ee3ed28ca575fcf7b10e6e1"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialopezg%2FCoreJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialopezg%2FCoreJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialopezg%2FCoreJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ialopezg%2FCoreJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ialopezg","download_url":"https://codeload.github.com/ialopezg/CoreJS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243360159,"owners_count":20278338,"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":["sdk","sdk-js"],"created_at":"2024-11-19T02:46:03.696Z","updated_at":"2025-12-29T02:21:58.999Z","avatar_url":"https://github.com/ialopezg.png","language":"TypeScript","funding_links":["https://github.com/sponsors/ialopezg","https://patreon.com/ialopezg","https://opencollective.com/ialopezg","https://ko-fi.com/ialopezg","https://www.paypal.me/isidrolopezg"],"categories":[],"sub_categories":[],"readme":"\u003cdiv style=\"text-align:center\"\u003e\n  \u003cimg height=\"150\" src=\"https://ialopezg.com/packages/corejs/corejs-logo.png\" alt=\"CoreJS Logo\" /\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cstrong\u003eCustom tools for NodeJS\u003c/strong\u003e :rocket:\n\u003c/div\u003e\n\u003cbr /\u003e\n\n\u003e  Modern, powerful web application framework for [Node.js](http://nodejs.org).\n\u003e \n\u003cdiv align=\"center\"\u003e\n\n[![NPM Version][npm-image]][npm-url]\n[![GitHub Release Version][github-release-image]][github-release]\n[![NPM Downloads][downloads-image]][npm-url]\n[![Build][travis-image]][travis-url]\n[![Coverage Status][coveralls-image]][coveralls-url]\n\u003cbr class=\"badge-separator\" /\u003e\n\u003cspan class=\"badge-patreon\"\u003e\u003ca href=\"https://patreon.com/ialopezg\" title=\"Donate to this project using Patreon\"\u003e\u003cimg src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /\u003e\u003c/a\u003e\u003c/span\u003e\n\u003cspan class=\"badge-opencollective\"\u003e\u003ca href=\"https://opencollective.com/ialopezg\" title=\"Donate to this project using Open Collective\"\u003e\u003cimg src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /\u003e\u003c/a\u003e\u003c/span\u003e\n\u003cspan class=\"badge-paypal\"\u003e\u003ca href=\"https://www.paypal.me/isidrolopezg\" title=\"Donate to this project using Open Collective\"\u003e\u003cimg src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"Open Collective donate button\" /\u003e\u003c/a\u003e\u003c/span\u003e\n\n\u003c/div\u003e\n\n## Description\n\n[CoreJS](https://github.com/ialopezg/corejs) is a toolset that helps you to develop and debug modern applications. This tool is made to be used in [Node.js](https://nodejs.org), which allows you to easily build efficient, scalable applications. It uses modern JavaScript, is built with [TypeScript](https://typescriptlang.org) and bring best JavaScript concepts.\n\n## Installation\n\n  ```bash\n  npm install @ialopezg/corejs\n  ```\n\n\n## Quick Start\n\n### Basic App Setup\n\n#### app.ts\n\n```ts\nimport { Application as ApplicationFactory } from '@ialopezg/corejs';\nimport * as express from 'express'\n\nexport class Application implements ApplicationFactory {\n    constructor(private application: express.Application) {\n      // do something\n    }\n  \n    start() {\n      // do something before server starts\n      \n      const port = process.env.APP_PORT || 3000;\n      this.application.listen(port, () =\u003e {\n        console.log(`Application listen on port: ${port}`);\n      });\n    }\n}\n```\n\n### app.socket.module.ts\n\n```ts\nimport { Module } from '@ialopezg/corejs';\n\n@Module({})\nexport class AppModule {}\n```\n\n### main.ts\n\n```ts\nimport { AppRunner } from '@ialopezg/corejs';\nimport { AppModule } from './app.module';\nimport { Application } from './app';\n\nAppRunner.run(Application, AppModule);\n```\n\n## Setup first controller\n\nControllers layer is responsible for handling HTTP requests. This is how we create controller in Nest application:\n\n```ts\nimport { Controller } from '@ialopezg/corejs';\nimport { NextFunction, Request, Response } from 'express';\n\n@Controller({ path: 'users' })\nclass UsersController {\n  @RequestMapping({ path: '/' })\n  getAllUsers(request: Request, response: Response, next: NextFunction) {\n    response.status(201).json({});\n  }\n}\n```\n\n## Features\n\n- Compatible with both TypeScript and ES6 (Recommend to use [TypeScript](https://www.typescriptlang.org/)\n- Based on well-known libraries (Express / socket.io) so you could easily use your experience\n- Easy to learn - syntax is really similar to Angular / Spring (Java)\n- Dependency Injection, Inversion of Control Container\n- Exceptions handler layer (helps to focus on logic)\n- Own modularity system\n- Sockets module (based on [socket.io](https://github.com/socketio/socket.io))\n\n## Documentation \u0026 Quick Start\n\n[Documentation \u0026 Tutorial](#) - Coming soon\n\n## Starter repositories\n\n- [TypeScript](https://github.com/ialopezg/corejs-typescript-starter)\n\n## Future\n\nCoreJS is very much still a work in progress. There is still some things to finish:\n\n- Better test utilities\n- Exception filters\n- Validation helpers\n- Starter repos\n- Increase test coverage\n- Gateway middlewares\n- and more...\n\n## People\n\nAuthor - [Isidro A. Lopez G.](https://github.com/ialopezg)\n\n## License\n\nCoreJS is licensed under [MIT](LICENSE) license.\n\n---\n\n\u0026copy; Copyright 1995-present - [Isidro A. Lopez G.](https://ialopezg.com/)\n\n[npm-image]: https://img.shields.io/npm/v/@ialopezg/corejs.svg\n[npm-url]: https://npmjs.org/package/@ialopezg/corejs\n[github-release]: https://github.com/ialopezg/corejs/releases\n[github-release-image]: https://img.shields.io/github/v/release/ialopezg/corejs.svg?logo=github\n[codecov-url]: https://codecov.io/gh/ialopezg/corejs/branch/main\n[codecov-image]: https://codecov.io/gh/ialopezg/corejs/branch/main/graph/badge.svg\n[downloads-image]: https://img.shields.io/npm/dm/@ialopezg/corejs.svg\n[downloads-url]: https://npmcharts.com/compare/@ialopezg/corejs?minimal=true\n[travis-url]: https://app.travis-ci.com/ialopezg/corejs.svg?branch=main\n[travis-image]: https://app.travis-ci.com/ialopezg/corejs.svg?branch=main\n[coveralls-image]: https://coveralls.io/repos/github/ialopezg/corejs/badge.svg?branch=main\n[coveralls-url]: https://coveralls.io/github/ialopezg/corejs?branch=main\n[contributors]: https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square\n[contributors-link]: #people\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fialopezg%2Fcorejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fialopezg%2Fcorejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fialopezg%2Fcorejs/lists"}