Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@umberware/the-way
Advanced tools
Readme
A framework to enhance the development with Node.js and Typescript, promoting agility, simplicity, scalability and intelligibility. With TheWay, the sky is not the limit!
Note: The release 1.0.0 will occur soon!
Using TheWay, you can easily and simply define REST operations, inject instances of a class, automatically configure and destroy instances, override classes to define a custom behavior, enable/disable features, and much more. The proposal of TheWay is to enhance the life cycle of the development in Node.js with a lot of features. The main features are:
TheWay is built for projects designed with NodeJs and Typescript.
You can check how to create a NodeJs + Typescript project here
Installing the TheWay:
For Yarn
yarn add @umberware/the-way
For Npm
npm install @umberware/the-way
Remember to install @types/node as dev dependencies when you are using the typescript with Node
In this section, we will create a simple application that uses TheWay.
It is imperative that you have: NodeJs installed and a NodeJs project configured to use typescript. You can check how to configure Node.js to work with Typescript in this guide: NodeJs With Typescript
Installing: @umberware/TheWay
npm install @umberware/the-way
Creating: A Main class(src/main/main.ts)
import { Application, TheWayApplication, Inject, CoreLogger } from '@umberware/the-way';
@Application()
export class Main extends TheWayApplication {
@Inject logger: CoreLogger;
public start(): void {
this.logger.info('Hello World');
}
}
Running: The Typescript source code (via ts-node)
ts-node src/main/main.ts
Build & Run: The final Javascript code
Build
tsc
Running the built code
node disc/src/main/main.js
You can check how to build a REST application in this guide: TheWay: HeroesRest
For more examples or guides, you can access the The Way Examples Repository or/and Guides
Remember to install @types/node as dev dependencies when you are using the typescript with Node
This framework uses application properties in Yaml Format and has a lot of properties that can be changed for your use. If no application properties is provided, the framework will use the default properties. For more detail, please visit the Application Properties Documentation
To access the full documentation you can access this
FAQs
TheWay is a framework to enhance the development with NodeJs and Typescript, promoting agility, simplicity and intelligibility
The npm package @umberware/the-way receives a total of 1 weekly downloads. As such, @umberware/the-way popularity was classified as not popular.
We found that @umberware/the-way demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.