diff --git a/license b/license index e7af2f7..fa7ceba 100644 --- a/license +++ b/license @@ -1,6 +1,6 @@ MIT License -Copyright (c) Sindre Sorhus (sindresorhus.com) +Copyright (c) Sindre Sorhus (https://sindresorhus.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/package.json b/package.json index 63e49a1..3e5e8a1 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,11 @@ "description": "Copy text to the clipboard in modern browsers (0.2 kB)", "license": "MIT", "repository": "sindresorhus/copy-text-to-clipboard", + "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" + "url": "https://sindresorhus.com" }, "engines": { "node": ">=6" diff --git a/readme.md b/readme.md index cc2df43..c094af5 100644 --- a/readme.md +++ b/readme.md @@ -4,20 +4,17 @@ [Try it out!](https://jsfiddle.net/sindresorhus/6406v3pf/) - ## Comparison - This module: **0.2 kB** - [`clipboard.js`](https://github.com/zenorocha/clipboard.js): 3.4 kB - ## Install ``` $ npm install copy-text-to-clipboard ``` - ## Usage ```js @@ -28,7 +25,6 @@ button.addEventListener('click', () => { }); ``` - ## API ### copy(text, options?)