
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
@anodized/http
Advanced tools
A decorator driven IoC backend framework aimed at keeping your codebase clean and reducing complexity
The HTTP components to the Anodized framework, built for complete modularity.
First, install the HTTP components
npm i @anodized/http
Next, create your entry script, in this example we'll say src/app.ts
import { AnodizedApp } from '@anodized/http';
AnodizedApp({
httpPort: 8080,
sourceDirectory: 'src/',
runtimeType: 'node', // this is future-proofing for use in serverless environments such as AWS lambda.
// optional extras,
logger: {
log: (value: string) => {},
warn: (value: string) => {}
error: (value: string) => {}
exception: (value: string) => {}
},
plugins: [
// lookup @anodized/tsx
],
publicDirectories: [
'public/'
],
verbose: false, // defaults to false.
})
Now all your TypeScript components will be loaded fron the source directory. Next, create a controller, in lets say src/controllers/homepage.ts
import { Get, Controller, PreAuthorize } from '@anodized/http'
@Controller()
class Homepage
{
@Get({ path: '/', produces: 'text/html' })
showHomepage() {
return '<h1>Hello World</h1>';
}
@Get({ path: '/about.html' })
showAbout() {
return '<h1>About me</h1>';
}
}
Now, run your application and head to http://localhost:8080
to see your result. See the wiki for more in-depth examples.
FAQs
A decorator driven IoC backend framework aimed at keeping your codebase clean and reducing complexity
The npm package @anodized/http receives a total of 8 weekly downloads. As such, @anodized/http popularity was classified as not popular.
We found that @anodized/http 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
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.