Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pugjs/doctypes
Shorthands for commonly used doctypes
https://github.com/pugjs/doctypes
Last synced: 3 days ago
JSON representation
Shorthands for commonly used doctypes
- Host: GitHub
- URL: https://github.com/pugjs/doctypes
- Owner: pugjs
- License: mit
- Created: 2015-01-22T13:21:36.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-08-16T09:15:13.000Z (6 months ago)
- Last Synced: 2025-01-21T20:07:34.571Z (11 days ago)
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 10
- Watchers: 11
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# 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'] === '');
assert(doctypes['xml'] === '');
```## License
MIT