cryptor as npm module