# smartfile

> offers smart ways to work with files in nodejs

Latest version **4.2.28** (published 2018-02-16) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install smartfile
pnpm add smartfile
yarn add smartfile
bun add smartfile
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 4.2.28 |
| Published | 2018-02-16 |
| First published | 2015-11-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 73.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Smart Coordination GmbH |
| Maintainers | lossless |
| Keywords | filesystem, json |

## Links

- npm: https://www.npmjs.com/package/smartfile
- Repository: https://gitlab.com/pushrocks/smartfile
- Issues: https://gitlab.com/pushrocks/smartfile/issues
- npm.io page: https://npm.io/package/smartfile

## Dependencies (10)

- [glob](https://npm.io/package/glob.md) ^7.1.2
- [smartq](https://npm.io/package/smartq.md) ^1.1.6
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.10.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^5.0.0
- [smartpath](https://npm.io/package/smartpath.md) ^3.2.8
- [vinyl-file](https://npm.io/package/vinyl-file.md) ^3.0.0
- [@types/vinyl](https://npm.io/package/@types/vinyl.md) ^2.0.2
- [smartrequest](https://npm.io/package/smartrequest.md) ^1.0.8
- [require-reload](https://npm.io/package/require-reload.md) 0.2.2
- [@types/fs-extra](https://npm.io/package/@types/fs-extra.md) 5.0.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 4.2.28 (latest) — 2018-02-16
- 4.2.27 — 2018-02-16
- 4.2.26 — 2017-09-22
- 4.2.24 — 2017-09-21
- 4.2.20 — 2017-08-02
- 4.2.19 — 2017-08-02
- 4.2.18 — 2017-07-30
- 4.2.17 — 2017-05-27
- 4.2.16 — 2017-05-27
- 4.2.15 — 2017-05-27
- 4.2.14 — 2017-05-27
- 4.2.13 — 2017-05-26
- 4.2.12 — 2017-05-26
- 4.2.11 — 2017-05-07
- 4.2.10 — 2017-05-07
- … 68 more at https://npm.io/package/smartfile/versions

## README

# smartfile
make files easily accessible for processing in javascript.

## Availabililty
[![npm](https://pushrocks.gitlab.io/assets/repo-button-npm.svg)](https://www.npmjs.com/package/smartfile)
[![git](https://pushrocks.gitlab.io/assets/repo-button-git.svg)](https://gitlab.com/pushrocks/smartfile)
[![git](https://pushrocks.gitlab.io/assets/repo-button-mirror.svg)](https://github.com/pushrocks/smartfile)
[![docs](https://pushrocks.gitlab.io/assets/repo-button-docs.svg)](https://pushrocks.gitlab.io/smartfile/)

## Status for master
[![build status](https://gitlab.com/pushrocks/smartfile/badges/master/build.svg)](https://gitlab.com/pushrocks/smartfile/commits/master)
[![coverage report](https://gitlab.com/pushrocks/smartfile/badges/master/coverage.svg)](https://gitlab.com/pushrocks/smartfile/commits/master)
[![Dependency Status](https://david-dm.org/pushrocks/smartfile.svg)](https://david-dm.org/pushrocks/smartfile)
[![bitHound Dependencies](https://www.bithound.io/github/pushrocks/smartfile/badges/dependencies.svg)](https://www.bithound.io/github/pushrocks/smartfile/master/dependencies/npm)
[![bitHound Code](https://www.bithound.io/github/pushrocks/smartfile/badges/code.svg)](https://www.bithound.io/github/pushrocks/smartfile)
[![TypeScript](https://img.shields.io/badge/TypeScript-2.x-blue.svg)](https://nodejs.org/dist/latest-v6.x/docs/api/)
[![node](https://img.shields.io/badge/node->=%206.x.x-blue.svg)](https://nodejs.org/dist/latest-v6.x/docs/api/)
[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)

## Usage
smartfile is an approach of being one tool to handle files in diverse environments.

### Smartfile Sections
smartfile thinks in sections:

section | description
--- | ---
fs | (object) gets data from fs to somewhere
memory | gets data from memory to somewhere
remote | gets data from remote locations to somewhere
interpreter | (object) handles yaml and json
smartfile | (class) a virtual representation of a file, alternative to vinyl file format

For further information read the linked docs at the top of this README.

> MIT licensed | **&copy;** [Lossless GmbH](https://lossless.gmbh)

[![npm](https://pushrocks.gitlab.io/assets/repo-footer.svg)](https://push.rocks)

---
_Source: https://npm.io/package/smartfile · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
