git ssb

0+

jake / state-copy



Tree:
📄README.md
📄index.js
📄package-lock.json
📄package.json
README.md

state-copy

takes an object as input then serializes it as JSON and copies it to your clipboard

Makes it easier to copy application state to your clipboard from the browser.

Usage

var stateCopy = require('state-copy')

stateCopy({wow: 'cool'})

what gets copied to clipboard

{"wow":"cool"}

Install

$ npm install state-copy

Acknowledgments

state-copy was inspired by @yoshuawuyts tweet

License

MIT

Built with git-ssb-web