
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
methodulus
Advanced tools
npm i -S methodulus
import { Player } from './player';
import { Server, MethodType, MethodulusConfig } from '../index';
MethodulusConfig.config['Player'] = MethodType.Local;
MethodulusConfig.servers = ['rest'];
const server = new Server(process.env.PORT || 8020);
server.useClass(Player);
import { Body, Method, MethodConfig, MethodType, Param, Query, Verbs, MethodError, MethodResult } from '../../index';
import { PlayerModel } from '../models/player';
@MethodConfig('Player')
export class Player {
@Method(Verbs.Post, '/api/player')
public async create() {
let p = new PlayerModel('1', 'player 1');
await DB.Player.insert(p);
return new MethodResult(p)
}
@Method(Verbs.Get, '/api/player/:player_id')
public async read( @Param('player_id') playerId: number) {
return await DB.Player.find({ 'Id': playerId });
}
@Method(Verbs.Put, '/api/player')
public async update() {
}
@Method(Verbs.Delete, '/api/player')
public delete() {
}
}
FAQs
Unknown package
The npm package methodulus receives a total of 18 weekly downloads. As such, methodulus popularity was classified as not popular.
We found that methodulus 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
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.