nxfilter
Version:
A command line tool for filtering RDF N-Triples or N-Quads
19 lines (15 loc) • 324 B
JavaScript
;
module.exports = {
/**
* Copies properties from a `source` object to a `target` object.
*/
extend: function (target, source) {
// Mutates the `target`
for (var property in source) {
if (source.hasOwnProperty(property)) {
target[property] = source[property];
}
}
return target;
}
};