encode-price
v1.0.3
Published
Encode price using ROT18 encryption and a own crypto caeser definition
Downloads
19
Maintainers
Readme
encode-price
To install simple run:
$ npm i encode-price #or yarn add encode-priceTo use is simple too
var encodePrice = require('encode-price')
//to encode
var encoded = encodePrice.encode(99.99) //#44&44
//to decode
var decoded = encodePrice.decode(encoded) //99.99This lib was created for a simple task that the product owner needed to mask the price in Woocommerce Variation description.
