Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/natlibfi/melinda-record-import-transformer-dummy
Dummy record transformer for the Melinda record batch import system
https://github.com/natlibfi/melinda-record-import-transformer-dummy
melinda
Last synced: 9 days ago
JSON representation
Dummy record transformer for the Melinda record batch import system
- Host: GitHub
- URL: https://github.com/natlibfi/melinda-record-import-transformer-dummy
- Owner: NatLibFi
- License: agpl-3.0
- Created: 2019-04-18T13:02:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T21:44:22.000Z (about 2 years ago)
- Last Synced: 2024-11-20T19:53:26.097Z (2 months ago)
- Topics: melinda
- Language: JavaScript
- Size: 1.12 MB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Dummy record transformer for the Melinda record batch import system [![Build Status](https://travis-ci.org/NatLibFi/melinda-record-import-transformer-dummy.svg)](https://travis-ci.org/NatLibFi/melinda-record-import-transformer-dummy) [![Test Coverage](https://codeclimate.com/github/NatLibFi/melinda-record-import-transformer-dummy/badges/coverage.svg)](https://codeclimate.com/github/NatLibFi/melinda-record-import-transformer-dummy/coverage)
Dummy record transformer for the Melinda record batch import system.
## Usage
Default options: validated: true and fix: true
Usage of [@natlibfi/melinda-record-import-cli](https://www.npmjs.com/package/@natlibfi/melinda-record-import-cli) is recommended### Input data
Stream containing `[Object]`, `[Boolean]` or `[]`. Example: `[{record: {..}}]` or `[true,true,false]`.
In case of empty array dummy will generate array containing 5 boolean true values `[true, true, true, true, true]`### Output data
Boolean values will generate valid and invalid records.
Obect type imput will be always converted to valid record.Examples can be found in the folder
## License and copyright
Copyright (c) 2018 **University Of Helsinki (The National Library Of Finland)**
This project's source code is licensed under the terms of **GNU Affero General Public License Version 3** or any later version.