# @constgen/neutrino-html-noscript

> Neutrino middleware to inject tag to a document

Latest version **1.11.1** (published 2021-02-10) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @constgen/neutrino-html-noscript
pnpm add @constgen/neutrino-html-noscript
yarn add @constgen/neutrino-html-noscript
bun add @constgen/neutrino-html-noscript
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.11.1 |
| Published | 2021-02-10 |
| First published | 2021-02-10 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 2 |
| Unpacked size | 37 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Constantine Genchevsky |
| Maintainers | constgen |
| Keywords | neutrino, neutrino-middleware, middleware, preset, webpack, html, noscript |

## Links

- npm: https://www.npmjs.com/package/@constgen/neutrino-html-noscript
- Repository: https://github.com/constgen/constgen-neutrino
- Homepage: https://github.com/constgen/constgen-neutrino/tree/master/packages/html-noscript
- Issues: https://github.com/constgen/constgen-neutrino/issues
- npm.io page: https://npm.io/package/@constgen/neutrino-html-noscript

## Dependencies (2)

- [html-webpack-plugin](https://npm.io/package/html-webpack-plugin.md) ^4.0.0
- [html-webpack-noscript-plugin](https://npm.io/package/html-webpack-noscript-plugin.md) ~1.0.0

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 1.11.1 (latest) — 2021-02-10
- 1.11.0 — 2021-02-10

## README

# @constgen/neutrino-html-noscript

[![npm](https://img.shields.io/npm/v/@constgen/neutrino-html-noscript.svg)](https://www.npmjs.com/package/@constgen/neutrino-html-noscript)
[![npm](https://img.shields.io/npm/dt/@constgen/neutrino-html-noscript.svg)](https://www.npmjs.com/package/@constgen/neutrino-html-noscript)

[Neutrino](https://neutrino.js.org) middleware that adds `<noscript>` tag with a message as the very first child of `<body>`

## Requirements

- Node.js v10+
- Neutrino v9
- Webpack v4
- HtmlWebpackPlugin v4.5.1+

## Installation

`@constgen/neutrino-html-noscript` can be installed from NPM. You should install it to `"dependencies"` (--save) or `"devDependncies"` (--save-dev) depending on your goal.

```bash
npm install --save @constgen/neutrino-html-noscript
```

## Usage

### In preset

Require this package and plug it into Neutrino. The following shows how you can pass an options object to the middleware, showing the **defaults**:

```js
let noscript = require('@constgen/neutrino-html-noscript')

neutrino.use(noscript(
   'We’re sorry but our app doesn’t work properly without JavaScript enabled. Please enable it to continue.'
))
```

### In **neutrinorc**

The middleware also may be used together with another presets in Neutrino rc-file, e.g.:

**.neutrinorc.js**

```js
let noscript = require('@constgen/neutrino-html-noscript')

module.exports = {
   use: [
      noscript()
   ]
}
```

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