![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
inferred-types
Advanced tools
A collection of Typescript primitives which help to facilitate advanced type strong opertions with greater ease. This includes:
Functions
Model
- wraps the popular io-ts
codec/type class in a way that ensures that the model's name is seen as a literal type rather than just a string
as it is in io-ts
. This helps TS's inference downstream.Configurator
- provides a configurator which is intended to allow a type strong dictionary to be built up as part of a builder patternFluentConfigurator
- provides a fluent style API which also provides a similar feature set to the base Configurator
.arrayToObjectKind
and arrayToObjectName
takes an array of objects which discriminate on the property kind
/name
and converts it into a strongly typed dictionary.Types
PascalCase
, CamelCase
, DashToSnake
, and KebabCase
are all utility classes which will convert a literal type to a transformed literal type of the appropriate casing.Pluralize
takes a literal type and transforms it into the plural version of the type.All symbols are typed and exported in both CommonJS and ESModule format.
This repo uses pnpm to bring in all deps. Please use that instead of npm, yarn, or whatever your favorite package manager is these days. The main things you will be interested in while working this repo are:
pnpm build
- transpiles the Typescript source to javascript and typings files off of /dist; it uses Rollup to do this.pnpm lint
- linting is part of the build process but sometimes you just want see the lint results without the parts of the build donepnpm build:bundle
- if you have things which are not passing yet lint muster but you need to just test the executable code as-is is building you can do that with this targetContributions are welcome as pull requests. To aid in making this process efficient, please note:
Note: all our coding standards have been hopefully incorporated as eslint rules and therefore stylistically so long as you're saving using these rules along with prettier we should be in good shape for the PR review to just focus on the "real stuff".
FAQs
Functions which provide useful type inference on TS projects
The npm package inferred-types receives a total of 3,974 weekly downloads. As such, inferred-types popularity was classified as popular.
We found that inferred-types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.