You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
535 B
24 lines
535 B
# doctypes |
|
|
|
Shorthands for commonly used doctypes |
|
|
|
[![Build Status](https://img.shields.io/travis/pugjs/doctypes/master.svg)](https://travis-ci.org/pugjs/doctypes) |
|
[![NPM version](https://img.shields.io/npm/v/doctypes.svg)](https://www.npmjs.org/package/doctypes) |
|
|
|
## Installation |
|
|
|
npm install doctypes |
|
|
|
## Usage |
|
|
|
```js |
|
var assert = require('assert'); |
|
var doctypes = require('doctypes'); |
|
|
|
assert(doctypes['html'] === '<!DOCTYPE html>'); |
|
assert(doctypes['xml'] === '<?xml version="1.0" encoding="utf-8" ?>'); |
|
``` |
|
|
|
## License |
|
|
|
MIT
|
|
|