Skip to content

joaopfg/picklefriend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

picklefriend

npm version build github sponsors

Typescript package compatible with python's pickle loads/dumps

Installation

npm i picklefriend

Usage

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 picklefriend

Install the dependencies

npm install

Generate the dist folder

tsc

Unit 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

About

Typescript package compatible with python's pickle loads/dumps

Resources

License

Stars

Watchers

Forks

Packages

No packages published