pins.js: A cross-language data sharing library
The pins.js
library is implemented in JavaScript making it ideal to read and write datasets from plain HTML or Node.js applications. It provides support for Python as well by embedding pins.js
into its Python package. Since pins.js
was ported from the pins R package, it can also interoperate with R, making it an ideal library for sharing datasets across R, Python and JavaScript.
Pin
Pin remote resources locally withpin()
, work offline and cache results.Discover
Discover new resources across different boards usingpinFind()
.Share
Share and retrieve resources from cloud services withboardRegister()
.- HTML
- JavaScript
- Python
- R
<head>
<script language="javascript" src="pins.js"></script>
<script>
pins.pin([1, 2, 3], { name: "onetwothree", board: "local" })
</script>
</head>
For R, please make use of the documentation available at pins.rstudio.com otherwise use the docs section.