hexo/node_modules/doctypes
jkjoy 5d2d87c740 20230925 2023-09-25 15:58:56 +08:00
..
.npmignore 20230925 2023-09-25 15:58:56 +08:00
.travis.yml 20230925 2023-09-25 15:58:56 +08:00
HISTORY.md 20230925 2023-09-25 15:58:56 +08:00
LICENSE 20230925 2023-09-25 15:58:56 +08:00
README.md 20230925 2023-09-25 15:58:56 +08:00
index.js 20230925 2023-09-25 15:58:56 +08:00
package.json 20230925 2023-09-25 15:58:56 +08:00
test.js 20230925 2023-09-25 15:58:56 +08:00

README.md

doctypes

Shorthands for commonly used doctypes

Build Status NPM version

Installation

npm install doctypes

Usage

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