# grunt-filetojson

> Given a directory with only markdown files in it, this task will parse the all the file names into a JSON file.

Latest version **0.0.2** (published 2014-08-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install grunt-filetojson
pnpm add grunt-filetojson
yarn add grunt-filetojson
bun add grunt-filetojson
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2014-08-04 |
| First published | 2014-08-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | optimisticcoder |

## Links

- npm: https://www.npmjs.com/package/grunt-filetojson
- npm.io page: https://npm.io/package/grunt-filetojson

## Recent versions

- 0.0.2 (latest) — 2014-08-04
- 0.0.0 — 2014-08-04

## README

#grunt-filetojson

Given a directory with only markdown files in it, this task will parse the all the file names into a JSON file.

The JSON file converts files with the format:

```
division.title+optionalTitleModifier.locale.md
```

And parses them into a JSON file called careers.js with the format:

```
{
   "division": "division",
   "title":"title",
   "locale":"locale",
   "filename": "path/to/markdown/file.md"
}
```
# Installation and Usage

Installing:
```
npm install grunt-filetojson --save
```

Using:
```
grunt --src="path/to/directory/with/only/markdown/files"
```

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