ts-nameof
nameof in TypeScript (by dsherret)
nornj
More exciting JS/JSX based on Template Engine, support control flow tags, custom directives, two-way binding, filters and custom operators. (by joe-sky)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
ts-nameof | nornj | |
---|---|---|
1 | 1 | |
489 | 102 | |
- | - | |
0.0 | 0.0 | |
about 1 year ago | 9 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
ts-nameof
Posts with mentions or reviews of ts-nameof.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Creating an axios service wrapper (in Vue)
// src/services/lps/SynonymGroupApiService.ts import type { SynonymGroup } from '@/shared/models/entities/Synonym'; import type { Pageable, Sort } from '@/shared/requests/Pageable'; import type { Search } from '@/shared/requests/Search'; import type { Page } from '@/shared/responses/Page'; import { ServiceCacher } from '../ServiceCacher'; import { AbstractLpsApiService } from './LpsApiService'; export interface SynonymGroupFilter extends Search, Pageable, Sort {} class SynonymGroupApiService extends AbstractLpsApiService { public constructor(lpsPortalUrl: string) { super('/synonym-groups', lpsPortalUrl); } public findAllPaged({ search }: SynonymGroupFilter = {}): Promise> { return this.http.get('', { params: { search } }) .then(this.handleResponse.bind(this)) .catch(this.handleError.bind(this)); } public findById(id: number): Promise { return this.http.get(`/${id}`) .then(this.handleResponse.bind(this)) .catch(this.handleError.bind(this)); } public create(content: SynonymGroup): Promise { return this.http.post('', content) .then(this.handleResponse.bind(this)) .catch(this.handleError.bind(this)); } public update(id: number, content: SynonymGroup): Promise { return this.http.put(`/${id}`, content) .then(this.handleResponse.bind(this)) .catch(this.handleError.bind(this)); } public delete(id: number): Promise { return this.http.delete(`/${id}`) .then(this.handleResponse.bind(this)) .catch(this.handleError.bind(this)); } } const serviceCacher: ServiceCacher = new ServiceCacher( nameof(), // https://github.com/dsherret/ts-nameof SynonymGroupApiService ); export function synonymGroupApiService(baseUrl: string): SynonymGroupApiService { return serviceCacher.instance(baseUrl); }
nornj
Posts with mentions or reviews of nornj.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-06.
-
So far, perhaps the best similar Single File Components solution for React JSX.
I used to think that styled-jsx was very good (I used it in this project example: https://github.com/joe-sky/nornj#basic), but its ecosystem was getting worse and worse compared with styled-components and emotion, so I never used it again -_-
What are some alternatives?
When comparing ts-nameof and nornj you can also consider the following projects:
ttypescript - Over TypeScript tool to use custom transformers in the tsconfig.json
tamagui - Style React fast with 100% parity on React Native, an optional UI kit, and optimizing compiler.
compiled-css-in-js - A familiar and performant compile time CSS-in-JS library for React. [Moved to: https://github.com/atlassian-labs/compiled]
jsx-sfc - A SFC like React function component API for managing CSS-in-JS and static members.