0.1.0 • Published 3 years ago

audit-copy v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

audit-copy

copy a JS Object for latter audit and detect modifications

designing npm-version downloads build build coverage dependencies

language: English also available in: Spanish

Install

$ npm install audit-copy

Usage

var auditCopy = require('audit-copy');
// ...

// in test:
it("call f without touching first param", ()=>{
    var auditCopyParam = auditCopy.inObject(param);
    f(param);
    assert.deepStrictEqual(auditCopyParam, auditCopy.inObject(param));
})

License

MIT

0.1.0

3 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago