0.0.9 • Published 4 years ago

xmltv-to-jsonapi v0.0.9

Weekly downloads
1
License
MIT
Repository
github
Last release
4 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

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago