Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yorkie/node-ext2type
convert extension of the path to the http Content-Type format, like application/xml, application/json.
https://github.com/yorkie/node-ext2type
Last synced: 5 days ago
JSON representation
convert extension of the path to the http Content-Type format, like application/xml, application/json.
- Host: GitHub
- URL: https://github.com/yorkie/node-ext2type
- Owner: yorkie
- Created: 2014-03-23T12:21:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-03-23T12:57:55.000Z (over 10 years ago)
- Last Synced: 2024-10-19T19:35:32.868Z (24 days ago)
- Language: JavaScript
- Homepage:
- Size: 125 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
ext2type
================Inactive: you should use node-mime to replace this.
convert extension of the path to the http `Content-Type` format, like `application/xml`, `application/json`.
[![Build Status](https://travis-ci.org/yorkie/node-ext2type.svg?branch=master)](https://travis-ci.org/yorkie/node-ext2type)
[![NPM](https://nodei.co/npm/ext2type.png?stars&downloads)](https://nodei.co/npm/ext2type/) [![NPM](https://nodei.co/npm-dl/ext2type.png)](https://nodei.co/npm/ext2type/)
### Installation
```sh
$ npm install ext2type
```### API
`ext2type(name)`: just calling it
### LICENSE
MIT