Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@node-ts-autumn/server
Advanced tools
server module for @node-ts-autumn/core
...for typescript node mvc framework @node-ts-autumn/core
alpha version
Features
`npm install @node-ts-autumn/server
{
"compilerOptions": {
"typeRoots": ["node_modules/@types", "node_modules/@node-ts-autumn"],
"types": ["node","server"],
},
}
Server
Configure the main server by setting up an Server
class that extends the AbstractServer
class from @node-ts-autumn/server
.
This is an example Server
class for the server.
global['basepath'] = __dirname;
import { AbstractServer, ServerConfig } from '@node-ts-autumn/server';
import { Application } from '@node-ts-autumn/server';
import { MyServerConfig } from './lib/config/server/server_config';
import { MyApplication } from './lib/application';
import { FileApplication } from './lib/file_application';
export class MyServer extends AbstractServer {
constructor () {
super();
}
public getServerConfig (): ServerConfig {
let serverConfig: ServerConfig = new MyServerConfig();
return serverConfig;
}
public getApplications (): Array<Application> {
let applications: Array<Application> = new Array<Application>();
applications.push(new FileApplication());
applications.push(new MyApplication());
return applications;
}
}
!new MyServer();
ServerConfig
import { AbstractServerConfig, ServerConfig } from '@node-ts-autumn/server';
export class MyServerConfig extends AbstractServerConfig implements ServerConfig {
constructor () {
super();
this.setPort(3000);
this.setStartUpMessage('MyServer');
}
}
FAQs
under construction
The npm package @node-ts-autumn/server receives a total of 0 weekly downloads. As such, @node-ts-autumn/server popularity was classified as not popular.
We found that @node-ts-autumn/server 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.