circleci-v2-sdk
nestia
circleci-v2-sdk | nestia | |
---|---|---|
1 | 38 | |
2 | 1,632 | |
- | - | |
0.0 | 9.6 | |
about 2 years ago | 3 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
circleci-v2-sdk
-
How I Built and Deployed my First Open-Source NPM Library
That's it! I hope my journey to releasing my first NPM library helps you launch your own. Feel free to check out my open-source library and share any feedback you have on the library or the article! GitHub - jithenshriyan/circleci-v2-sdk: Typescript SDK for CircleCI V2 API
nestia
-
I made Swagger/OpenAPI type definitions and converter library
However, lacking of typia and nestia libraries is obvious. If you also need detailed Swagger/OpenAPI spec like me, but you need more detailed types/properties, or found something missed, please take a contribution.
-
I made "TypeScript Swagger Editor", new type of Swagger UI writing TypeScript code in the browser
For reference, if your backend application utilizes nestia (NestJS), you don't need to build the SDK (Software Development Kit) library by converting from the Swagger Documents. The nestia will automatically generate the much advanced SDK library, just by analyzing your backend application's source code.
-
[Typia] I made Protocol Buffer library of TypeScript, easiest in the world
Also, I'd introduced my another library nestia, which utilizes typia in the NestJS framework, so that boosts up backend server performance 30x up. And since typia analyzes the NestJS backend source code at the compiler level, I also provided convenient generators such as SDK and Mockup Simulator.
-
Good bye "typescript-is" (ancestor of "typia", 20,000x faster validator)
nestia: https://github.com/samchon/nestia
-
Migration tool from Swagger to NestJS - SDK generator and Mockup simulator for every backend stacks
/** * @controller BodyController.post() * @path POST /body * @nestia Generated by Nestia - https://github.com/samchon/nestia */ export async function post( connection: IConnection, body: IBbsArticle.IStore, ): Promise { return !!connection.simulate ? post.simulate( connection, body, ) : Fetcher.fetch( connection, post.ENCRYPTED, post.METHOD, post.path(), body, ); } export namespace post { export type Input = IBbsArticle.IStore; export type Output = IBbsArticle;
-
[Nestia] I made backend simulator for frontend developers (similar with MSW, but fully automated)
When you build backend simulator of nestia, nestia analyzes your backend server source codes, and writes fake scripts simulating the NestJS backend server. The simulator even includes request data validator and random mock-up data generator.
-
[NestJS] I made backend server simulator without backend server
/** * @packageDocumentation * @module api.functional.bbs.articles * @nestia Generated by Nestia - https://github.com/samchon/nestia */ //================================================================ import { Fetcher } from "@nestia/fetcher"; import type { IConnection } from "@nestia/fetcher"; import typia from "typia"; import { NestiaSimulator } from "./../../../utils/NestiaSimulator"; import type { IBbsArticle } from "./../../../structures/IBbsArticle"; /** * Update an article. * * @param section Section code * @param id Target article ID * @param input Content to update * @returns Updated content * * @controller BbsArticlesController.update() * @path PUT /bbs/:section/articles/:id * @nestia Generated by Nestia - https://github.com/samchon/nestia */ export async function update( connection: IConnection, section: string, id: string, input: update.Input, ): Promise { return !!connection.random ? update.simulate( connection, section, id, input, ) : Fetcher.fetch( connection, update.ENCRYPTED, update.METHOD, update.path(section, id), input, ); } export namespace update { export type Input = IBbsArticle.IStore; export type Output = IBbsArticle; export const METHOD = "PUT" as const; export const PATH: string = "/bbs/:section/articles/:id"; export const ENCRYPTED: Fetcher.IEncrypted = { request: false, response: false, }; export const path = (section: string, id: string): string => { return `/bbs/${encodeURIComponent(section ?? "null")}/articles/${encodeURIComponent(id ?? "null")}`; } export const random = (g?: Partial): Output => typia.random(g); export const simulate = async ( connection: IConnection, section: string, id: string, input: update.Input, ): Promise => { const assert = NestiaSimulator.assert({ method: METHOD, host: connection.host, path: path(section, id) }); assert.param("section")("string")(() => typia.assert(section)); assert.param("id")("uuid")(() => typia.assert(id)); assert.body(() => typia.assert(input)); return typia.random( typeof connection.random === 'object' && connection.random !== null ? connection.random : undefined ); } }
-
[Nestia] Make NestJS 30x faster with fastify
For reference, you can run the benchmark program on your computer by following below commands. After the benchmark, a report would be issued under nestia/benchmark/results/{YOUR-CPU-NAME} directory. If you send the result PR on my repo (https://github.com/samchon/nestia), I'd pleasure and appreciate it even more.
-
[Nestia] I made automatic e2e test functions generator for NestJS
I made automatic e2e test functions generator for NestJS, corresponding to every API endpoints. Just setup nestia following the guide documents, and run npx nestia e2e comnand, then you can get the automatically generated e2e functions.
- Nestia, make NestJS super-fast and super-easy
What are some alternatives?
sdk-codegen - One SDK to rule them all, and in the codegen bind them
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
crowdin-api-client-js - JavaScript client library for Crowdin API
typia - Super-fast/easy runtime validations and serializations through transformation
ESLint - Find and fix problems in your JavaScript code.
GraphQL-NestJS-MongoDB-TypeScript-Tutorial - A GraphQL API build on top of NextJS
typedoc - Documentation generator for TypeScript projects.
trpc-fe-boilerplate-next - ⚒️ Minimal tRPC frontend Nextjs boilerplate for separate BE-FE repositories. Easily consume fully typesafe APIs.
foal - Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented.
typescript-starter - Quickly create and configure a new library or Node.js project
blockfrost-js - Node.js SDK for the Blockfrost.io API.
emojihub - 😺 A simple & free HTTP API with emojis for your cool apps