
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
Base application plugin that adds methods to applications for stashing and restoring object states.
You might also be interested in stash-object.
Install with npm:
$ npm install --save base-stash
var stash = require('base-stash');
app.use(stash());
Stash an object property from the app with an optional "name".
Params
prop {String}: Property to stash (e.g. options or cache);name {String}: Name to use to "tag" the stash to restore from later.Example
app.stash('options');
Restore a previously stashed object. Optionally restore from a specific "name" that was used with .stash. When a "name" is not specified, the last stashed object is used.
Params
prop {String}: Property to restore (e.g. options or cache);name {String}: Name used when stashing to restore directly to that spot.Example
app.restore('options');
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)
To generate the readme and API documentation with verb:
$ npm install -g verb verb-generate-readme && verb
Install dev dependencies:
$ npm install -d && npm test
Brian Woodward
Copyright © 2016, Brian Woodward. Released under the MIT license.
This file was generated by verb, v0.9.0, on July 28, 2016.
FAQs
Base application plugin that adds methods to applications for stashing and restoring object states.
We found that base-stash 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
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

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.