@wbg-mde/repository
Managing all common method for file system CRUD operations.
Last updated 4 months ago by panappsdev .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @wbg-mde/repository 
SYNC missed versions from official npm registry.

Metadata Editor Repository(@wbg-mde/repository)

This module handles the file system of Metadata Editor application. This module have all the general and remotely executed methods. Typescript is used to development and converted to Javascripit after compilation. This module manages the following functionalities:

  • Project configuration
  • Export DDI
  • Import DDI
  • Nedb management
  • Core i18n methods
  • Core template manager methods
  • Application resource path management
  • File system management

Installation

Install the dependencies and devDependencies.

npm install

Build the application

npm run build

Publish the application to npm

npm publish --access public

Running the tests

Unit test are written for DDI, DublinCore and Geospatial study import/export. You can copy input files to test-data/input directory. Please see the commands to run unit test below.

npm run test:ddi

unit test to check the ddi import/export functionalities. Keep only ddi xml files to be tested in the test-data/input/ddi folder, remove other files.

flow of test execution :-

  • import study from test-data/input/ddi directory
  • export the imported files to test-data/output/ddi

npm run test:dublincore

unit test to check the dublincore import/export functionalities. Keep only dublincore rdf files to be tested in the test-data/input/dublincore folder, remove other files.

flow of test execution :-

  • import study from test-data/input/dublincore directory
  • export the imported files to test-data/output/dublincore

npm run test:geospatial

unit test to check the geospatial import/export functionalities. Keep only geospatial xml files to be tested in the test-data/input/geospatial folder, remove other files.

flow of test execution :-

  • import study from test-data/input/geospatial directory
  • export the imported files to test-data/output/geospatial

Contributors

License

MIT

Current Tags

  • 3.0.28                                ...           latest (4 months ago)

93 Versions

  • 3.0.28                                ...           4 months ago
  • 3.0.27                                ...           4 months ago
  • 3.0.26                                ...           4 months ago
  • 3.0.25                                ...           4 months ago
  • 3.0.24                                ...           5 months ago
  • 3.0.23                                ...           5 months ago
  • 3.0.22                                ...           6 months ago
  • 3.0.21                                ...           6 months ago
  • 3.0.20                                ...           6 months ago
  • 3.0.19                                ...           6 months ago
  • 3.0.18                                ...           6 months ago
  • 3.0.17                                ...           6 months ago
  • 3.0.16                                ...           7 months ago
  • 3.0.15                                ...           7 months ago
  • 3.0.14                                ...           7 months ago
  • 3.0.13                                ...           7 months ago
  • 3.0.12                                ...           8 months ago
  • 3.0.11                                ...           8 months ago
  • 3.0.10                                ...           8 months ago
  • 3.0.9                                ...           8 months ago
  • 3.0.8                                ...           9 months ago
  • 3.0.7                                ...           9 months ago
  • 3.0.6                                ...           9 months ago
  • 3.0.5                                ...           9 months ago
  • 3.0.4                                ...           9 months ago
  • 3.0.3                                ...           9 months ago
  • 3.0.2                                ...           10 months ago
  • 3.0.1                                ...           10 months ago
  • 3.0.0                                ...           10 months ago
  • 2.6.9                                ...           a year ago
  • 2.6.8                                ...           a year ago
  • 2.6.7                                ...           a year ago
  • 2.6.6                                ...           a year ago
  • 2.6.5                                ...           a year ago
  • 2.6.3                                ...           a year ago
  • 2.6.2                                ...           a year ago
  • 2.6.1                                ...           a year ago
  • 2.6.0                                ...           a year ago
  • 2.5.9                                ...           a year ago
  • 2.5.8                                ...           a year ago
  • 2.5.6                                ...           a year ago
  • 2.5.5                                ...           2 years ago
  • 2.5.4                                ...           2 years ago
  • 2.5.3                                ...           2 years ago
  • 2.5.2                                ...           2 years ago
  • 2.5.1                                ...           2 years ago
  • 2.5.0                                ...           2 years ago
  • 2.4.9                                ...           2 years ago
  • 2.4.8                                ...           2 years ago
  • 2.4.6                                ...           2 years ago
  • 2.4.5                                ...           2 years ago
  • 2.4.4                                ...           2 years ago
  • 2.4.3                                ...           2 years ago
  • 2.4.2                                ...           2 years ago
  • 2.4.1                                ...           2 years ago
  • 2.4.0                                ...           2 years ago
  • 2.3.9                                ...           2 years ago
  • 2.3.8                                ...           2 years ago
  • 2.3.7                                ...           2 years ago
  • 2.3.6                                ...           2 years ago
  • 2.3.5                                ...           2 years ago
  • 2.3.3                                ...           2 years ago
  • 2.3.2                                ...           2 years ago
  • 2.3.1                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.2.9                                ...           2 years ago
  • 2.2.8                                ...           2 years ago
  • 2.2.7                                ...           2 years ago
  • 2.2.6                                ...           2 years ago
  • 2.2.4                                ...           2 years ago
  • 2.2.3                                ...           2 years ago
  • 2.2.1                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.1.9                                ...           2 years ago
  • 2.1.8                                ...           2 years ago
  • 2.1.7                                ...           2 years ago
  • 2.1.6                                ...           2 years ago
  • 2.1.5                                ...           2 years ago
  • 2.1.4                                ...           2 years ago
  • 2.1.3                                ...           2 years ago
  • 2.1.2                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.9                                ...           2 years ago
  • 2.0.8                                ...           2 years ago
  • 2.0.7                                ...           2 years ago
  • 2.0.6                                ...           2 years ago
  • 2.0.5                                ...           2 years ago
  • 2.0.4                                ...           2 years ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (13)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |