nl_tokens: / * drop_property . js - given an array of JSON documents will return an array of documents with the provided property removed . If the property does not exist the document is returned unchanged .
pl_tokens: function newProcessor ( context , opConfig , jobConfig ) { const jobLogger = context . logger ; jobLogger . info ( 'Drop_property asset loaded.' ) ; return function processor ( data , sliceLogger , msg ) { data . forEach ( ( doc ) => { if ( doc . hasOwnProperty ( opConfig . <mask> ) ) { delete doc [ opConfig . property ] ; } } ) ; return data ; } ; }