Typescript package compatible with python's pickle loads/dumps
npm install picklefriend



Typescript package compatible with python's pickle loads/dumps
bash
npm i picklefriend
`Usage
`typescript
import { pickle } from 'picklefriend'let myString = "my test string";
let myStringDumped = pickle.dumps(myString);
let myStringLoaded = pickle.loads(myStringDumped);
console.log(myStringLoaded);
`Development
$3
`bash
git clone git@github.com:joaopfg/picklefriend.git
cd picklefriend
`
$3
`bash
npm install
`
$3
`bash
tsc
`
$3
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.
`bash
npm test
``