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

https://github.com/azer/indexhtml

Generate a customized index.html file
https://github.com/azer/indexhtml

Last synced: 11 months ago
JSON representation

Generate a customized index.html file

Awesome Lists containing this project

README

          

## indexhtml

Generate a customized index.html file

## Install

```bash
$ npm install indexhtml
```

## Usage

```js
var indexhtml = require('indexhtml')

indexhtml({
title: 'hello world',
js: 'bundle.js', // or [..] is ok
css: ['default.css', 'pretty.css'], // or 'single.css' is ok
meta: [
{ name: 'viewport', content: 'width=device-width, initial-scale=1' }
],
content: '

yo

'
})
```

will output:

```html




hello world




yo



```