
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@odata2ts/odata2ts
Advanced tools
Flexible generator to produce various TypeScript artefacts (from simple model interfaces to complete odata clients) from OData metadata files
The basic idea of odata2ts is to leverage the readily available metadata of any OData service
to generate different sorts of typed artefacts which you use in your TypeScript code.
This package (@odata2ts/odata2ts) realizes the generation process.
The generator is supposed to be used with a TypeScript based configuration file. Then it's able to handle the generation for multiple OData services.
It comes with powerful configuration options. Some highlights:
See the generator documentation for more information.
npm install --save-dev @odata2ts/odata2ts
Most of the generated artefacts depend on other libraries. odata2ts lists them as peer dependencies.
Depending on your use case, you will need to add runtime dependencies matching the mentioned peer dependencies. See the Getting Started Guide of the documentation for guidance.
Main documentation for the odata2ts eco system: https://odata2ts.github.io
See example packages for examples of how to integrate odata2ts.
See folder test for unit tests.
See folder int-test for integration tests of the CLI.
Each example package serves as integration test of the generator.
This project is open to feature requests, suggestions, bug reports, usage questions etc. via GitHub issues.
Contributions and feedback are encouraged and always welcome.
See the contribution guidelines for further information.
This project and this module have been created and are maintained in the following spirit:
MIT - see License.
FAQs
Flexible generator to produce various TypeScript artefacts (from simple model interfaces to complete odata clients) from OData metadata files
The npm package @odata2ts/odata2ts receives a total of 4,909 weekly downloads. As such, @odata2ts/odata2ts popularity was classified as popular.
We found that @odata2ts/odata2ts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.