New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wbg-mde/repository

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wbg-mde/repository

Managing all common method for file system CRUD operations.

  • 3.0.28
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
31
increased by287.5%
Maintainers
1
Weekly downloads
 
Created
Source

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

  • Navin VI (navin.v.i@panapps.co)
  • Anoop Xaviour (anoopx@panapps.co)
  • Ghanashyam C Kartha (ghanashyam.c.k@panapps.co)
  • Libin Thomas (libint@panapps.co)

License

MIT

Keywords

FAQs

Package last updated on 13 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc