Writes the Singer format from Node.
Provide functions and classes to help write the Singer format from node.
Based on singer-python
npm install singer-node
import {write_schema, write_records, write_state} from "singer-node"
import {List} from "immutable"
write_schema('my_table', {
properties: {
id: {
type: 'string'
}
}
},
List(['id'])
)
write_records('my_table',
List([{
id: 'b'
}, {
id: 'd'
}])
)
write_state({
bookmarks:
{my_table: 'd'}
})
Singer-node is written and maintained by Biron https://birondata.com/
Special thanks to the people who built
Copyright © 2022 Biron
Distributed under the AGPLv3