Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frictionlessdata/dpm-js
[DEPRECATED] Please use https://datahub.io/docs/features/data-cli
https://github.com/frictionlessdata/dpm-js
Last synced: 2 months ago
JSON representation
[DEPRECATED] Please use https://datahub.io/docs/features/data-cli
- Host: GitHub
- URL: https://github.com/frictionlessdata/dpm-js
- Owner: frictionlessdata
- Archived: true
- Created: 2013-11-12T08:02:35.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-03-31T16:09:55.000Z (almost 7 years ago)
- Last Synced: 2024-10-09T12:17:09.017Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 88.9 KB
- Stars: 109
- Watchers: 22
- Forks: 18
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-repos - frictionlessdata/dpm-js - [DEPRECATED] Please use https://datahub.io/docs/features/data-cli (JavaScript)
- awesome-starred - frictionlessdata/dpm-js - [DEPRECATED] Please use https://datahub.io/docs/features/data-cli (others)
README
DEPRECATED and REPLACED - SEP 2017
data
tool has replaceddpm
data
is our new command line tool
https://datahub.io/docs/features/data-cli
https://github.com/datahq/data-cli---
---# Data Package Manager - in JavaScript
[![NPM Package](https://nodei.co/npm/dpmjs.png)](https://nodei.co/npm/dpmjs/)
[![Build Status](https://travis-ci.org/frictionlessdata/dpm-js.svg?branch=master)](https://travis-ci.org/frictionlessdata/dpm-js)
dpm is a library and command line manager for [Data Packages](http://dataprotocols.org/data-packages/).
> Starting from v0.8.0 package on NPM has been renamed to `dpmjs`.
## Install
`dpm` is implemented in node, so to install `dpm` just do:
```bash
npm install dpmjs -g
```## Command Line Usage
To get an overview and list of commands check out the command line help:
```bash
dpm --help
```## Using DPM programaticaly
You can also use `dpm` programatically.
```javascript
var Dpm = require('dpmjs');
var dpm = new Dpm(conf);dpm.install(['[email protected]', '[email protected]'], {cache: true}, function(err, dpkgs){
//done!
});
dpm.on('log', console.log); //if you like stuff on stdout
```## Changelog
* v0.8.0: renamed to `dpmjs` on NPM
* v0.7.0: new ckan command
* v0.6.0: much better validation via v0.2 of datapackage-validate## References
Previous `dpm` (python-based) can still be found at
http://github.com/okfn/dpm-old.