0.0.9 • Published 5 years ago

xmltv-to-jsonapi v0.0.9

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

XMLTV to JSON:API Build Status Code Climate issues

Make use of JSON:API's relationship model to work with XMLTV data

Install

$ yarn add xmltv-to-jsonapi

Usage

const fs = require('fs');
const xmltvToJsonapi = require('xmltv-to-jsonapi');

const xmltvData = fs.readFileSync('examples/epg.xml', 'utf-8');

(async () => {
  const result = await xmltvToJsonapi(xmltvData);

  // do something with your json
})();

API

xmltvToJsonapi(input)

input

Type: string | buffer

Takes in the XMLTV data as a string or file buffer

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago