Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@paradisec/proxyist-adapter-local
Advanced tools
Proxyist is a web proxy which provides an object store like interface to a catalog of items which contain objects.
This adapter provides support for a local disk based backend.
See the proxyist README.md for details on how to get proxist running. Then add this adapter.
yarn add proxyist-adapter-local
Here is a sample proxyist configuration for this adapter:
import { BadIdentifierError } from '@paradisec/proxyist-adapter-common';
export default {
directory: '/srv/proxyist/data',
transform: (identifier) => {
if (identifier.includes('/')) {
throw new BadIdentifierError('Identifer cannot contain "/"');
}
if (identifier.includes('-')) {
const [, item] = identifier.split('-', 2);
if (item === 'root') {
throw new BadIdentifierError('Item cannot be named "root"');
}
return identifier.replace(/-/, '/');
}
return `${identifier}/root`;
},
};
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
FAQs
Local filesystem adapter for proxyist
The npm package @paradisec/proxyist-adapter-local receives a total of 0 weekly downloads. As such, @paradisec/proxyist-adapter-local popularity was classified as not popular.
We found that @paradisec/proxyist-adapter-local demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.