Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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