datopian / frictionless-ckan-mapper-js

🛠️ A JS library for mapping CKAN metadata <=> Frictionless metadata
https://tech.datopian.com/frictionless/
MIT License
6 stars 1 forks source link

Refactor library to have cleaner interface #9

Open rufuspollock opened 4 years ago

rufuspollock commented 4 years ago

Refactor library and then update ckan-client-js with this cleaner interface:

import {f2c, c2f} from "frictionless-ckan-mapper";

f2c.dataset
f2c.resource

c2f.dataset
c2f.resource