weekwood / SwiftMime

MIME type mapping API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwiftMime

Version Stories in Ready Build Status

Comprehensive MIME type mapping API. Includes all 600+ types and 800+ extensions defined by the Apache project, plus additional types submitted by the node.js community.

inspired from mime

Usage

Basic API

SwiftMime.ext("text/html")
SwiftMime.mime("pdf")

Installation

Add the following to your Cartfile:

github "weekwood/SwiftMime"

Add the following to your Podfile:

pod 'SwiftMime'

Author

di wu, di.wu@me.com

License

SwiftMime is available under the MIT license. See the LICENSE file for more info.

About

MIME type mapping API

License:MIT License


Languages

Language:Shell 68.8%Language:Swift 16.9%Language:Ruby 7.2%Language:Objective-C 7.1%