Socket
Book a DemoInstallSign in
Socket

filebase

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filebase

Git-backed file storage and versioning, with i18n support.

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

filebase NPM version Build Status

Git-backed file storage and versioning, with i18n support.

Install

Install with npm:

$ npm i filebase --save

Usage

This project is a WIP!

var filebase = require('filebase');

API

Filebase

Create an instance of Filebase with the given options

Params

  • options {Object}

Example

var filebase = new Filebase();

.set

Add file key with the given value

Params

  • key {String}
  • value {Object}

.get

Get file key

Params

  • key {String}
  • returns {Object}

.has

Return true if file key exists.

Params

  • key {String}
  • returns {Boolean}

.del

Delete file key

Params

  • key {String}

.initSync

Synchronously initialize a new git repository.

Example

filebase.initSync();

.save

Persist the filebase to disk.

Example

filebase.save();

data-store: Easily get, set and persist config data. | homepage

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2016 Jon Schlinkert Released under the MIT license.

This file was generated by verb on January 02, 2016.

FAQs

Package last updated on 02 Jan 2016

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