Sender Rewriting Scheme for Node.
Written for and maintained by Ptorx, a proxy email service.
import { SRS } from 'sender-rewriting-scheme';
const srs = new SRS({
separator: '=', // default
secret: 'test1', // required
maxAge: 30 // default
});
srs.forward('[email protected]', 'forward.com');
// [email protected]
srs.reverse('[email protected]');
// [email protected]