miso.fs

0.1.1 • Public • Published

miso-fs

A Miso Dataset FileSystem Importer for Node.js environments.

Installation

To install the importer extension, simply use NPM to install locally or globally, depending on your needs. It is recommended to install local to your project.

npm install miso.fs

To load the plugin into Miso.Dataset, simply use the load function as soon as you have access to the Miso object.

// Require the Miso Dataset package.
var Miso = require("miso.dataset");
 
// Load in the Miso FS importer.
Miso.load("miso.fs");

Configuration

To load in data from the filesystem simply make a Dataset and specify the importer and path location.

var ds = new Miso.Dataset({
  // Paths can be relative or absolute.
  path: "/some/path/here",
 
  // Make sure you specify the filesystem importer.
  importer: Miso.Importers.Filesystem
});

Readme

Keywords

none

Package Sidebar

Install

npm i miso.fs

Weekly Downloads

0

Version

0.1.1

License

none

Last publish

Collaborators

  • tbranyen