
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
drawer-framework
Advanced tools
A simple http framework called Drawer which writes a hello.json file and reads a hello.txt file
#Simple http-server with drawer v1.0.0 Documentation
This module is simple http framework which contains drawer for handling and organizing files by file extensions.
Using drawer, file can be written by /write/filename url and the file will be stored into the folder where file extension has matched. Also, file can be read by '/read/filename' simply.
It is also able to show the list of files in drawer
http framework
drawer
It will be create server to listen.
var Router = require('httpframework');
router = Router();
router.listen(router.route, 3000);
Initialized drawer in local directory. It will be created photo/musin/documentation/javascript/html/etc as sub-folder in drawer automatically.
var Drawer = require('drawer');
var drawer = new Drawer();
drawer.init(__dirname);
It will be created drawer folder which has sub-folders(photo/documentation/javascript/html/ect) in __dirname.
###drawer.filelist(file-type); Show the list of files which has been sorted by extenstions.
var Drawer = require('drawer');
var drawer = new Drawer();
drawer.filelist('json');
It will be shown the list of json you have in drawer.
FAQs
A simple http framework called Drawer which writes a hello.json file and reads a hello.txt file
The npm package drawer-framework receives a total of 1 weekly downloads. As such, drawer-framework popularity was classified as not popular.
We found that drawer-framework 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.