Skip to content

A simple Node JS script to automate upgrading pre v1 Data Package specs to v1

Notifications You must be signed in to change notification settings

datopian/datapackage-normalize-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datapackage-normalize-js

datapackage-normalize-js is a lightweight library that upgrades Data Package metadata to v1 of the Data Package specs from previous versions. For more information see this blog post: https://datahub.io/blog/upgrade-to-data-package-specs-v1

Build Status

Installation

Prerequisites: node >= v6

This is a simple script that you can download directly from here:

https://raw.githubusercontent.com/datahq/datapackage-normalize-js/master/normalize.js

e.g. using wget:

wget https://raw.githubusercontent.com/datahq/datapackage-normalize-js/master/normalize.js

Usage

Normalize datapackage.json:

// path (optional) is the path to datapackage.json (if not provided looks in current directory)
normalize.js [path]

// prints out updated datapackage.json 

About

A simple Node JS script to automate upgrading pre v1 Data Package specs to v1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published