Package Exports
- @nasirbaloch/copy-lite
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nasirbaloch/copy-lite) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
copy-lite
This is a very light weighted copier. You can pass any thing, it will be simply copy to clipboard.
How to use?
Simply import like this. import copyMe from '@nasirbaloch/copy-me';. Then place anything in this copyMe function. For example.
import copyMe from '@nasirbaloch/copy-me';
var1 = "This is var1 to copy"
var2 = ["john doe", "robin", "alexa", "google"];
var3 = [
{
"name": "john",
"age" : 20
},
{
"name": "robin",
"age" : 30
},
{
"name": "alexa",
"age" : 05
},
]
etc....
//this could be any variable containing any. then simple pass var in function. like this.
copyMe(anyVar);
// it will copy that var containing value to your clipboard.Thanks 😍 #avoidExtraLines