Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tknickman/dirs-next

A tiny library with a minimal API that provides the platform-specific, user-accessible locations for retrieving and storing configuration
https://github.com/tknickman/dirs-next

Last synced: 21 days ago
JSON representation

A tiny library with a minimal API that provides the platform-specific, user-accessible locations for retrieving and storing configuration

Awesome Lists containing this project

README

        

# dirs-next

![NPM Version](https://img.shields.io/npm/v/dirs-next)

A (hasty) port of the [dirs-next Rust crate](https://github.com/xdg-rs/dirs/tree/master/dirs).

## Description

A tiny library with a minimal API that provides the platform-specific, user-accessible locations for retrieving and storing configuration, cache and other data on Linux, Redox, Windows (≥ Vista), macOS and other platforms.

## Supported Methods:

- `configDir` - returns the user-specific configuration directory