1.0.8 • Published 3 years ago
picklefriend v1.0.8
picklefriend
Typescript package compatible with python's pickle loads/dumps
Installation
npm i picklefriendUsage
import { pickle } from 'picklefriend'
let myString = "my test string";
let myStringDumped = pickle.dumps(myString);
let myStringLoaded = pickle.loads(myStringDumped);
console.log(myStringLoaded);Development
Fork the main branch, clone it and entry in the root folder
git clone git@github.com:joaopfg/picklefriend.git
cd picklefriendInstall the dependencies
npm installGenerate the dist folder
tscUnit tests
The unit tests are located in the test folder. If you want to create new tests, they must go inside this folder and the test script must be updated in package.json.
npm test