Skip to content

snapyjs/snapy-filter-obj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snapy-filter-obj

Plugin of snapy.

Filter properties from a snapshot, like timestamps.

test((snap) => {
  snap({
    obj: {
      nested:{
        notIncluded: false, 
        included: true
      },
      alsoNotIncluded: false
    }, 
    filter: "nested,-nested.notIncluded"
  })
})

License

Copyright (c) 2017 Paul Pflugradt Licensed under the MIT license.

About

Filter properties from a snapshot

Resources

Stars

Watchers

Forks

Packages

No packages published