Socket
Book a DemoInstallSign in
Socket

@grundstein/file-store

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grundstein/file-store

NOT YET BENCHMARKED OR IN PRODUCTION! @grundstein/file-store. pipes the contents of a directory of files into a @grundstein/mem-store.

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
2
Created
Source

@grundstein/file-store

WIP. NOT IN PRODUCTION YET!

reads a directory of files, then initializes a @grundstein/memstore with that data and returns it.

@grundstein/mem-store

minimal, memory only, key -> value store for nodejs.

installation

npm i @grundstein/file-store

usage

import fileStore from '@grundstein/file-store'

const dir = 'public'

const store = fileStore(dir)

store.get('file.txt') // 'contents and metadata of public/file.txt'

this library gets used by @grundstein/server to serve static files.

changelog

v0.0.2 - unreleased

v0.0.1

first release

Keywords

grundstein

FAQs

Package last updated on 31 Oct 2025

Did you know?

Socket

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.

Install

Related posts