UNPKG

cfx.simple-build-tool

Version:

25 lines (15 loc) 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