Licence and attribution
@mherod/get-cookie is free and open source under the ISC licence. The LICENSE file supplied with your version contains the copyright notice, permission notice, warranty disclaimer, and limitation of liability.
This guide explains that licence. It adds no conditions or separate agreement; if this guide and LICENSE differ, LICENSE controls.
Permission to use
You may use, copy, modify, and distribute get-cookie for any purpose, including in products that earn revenue and in closed-source software. The same notice requirement applies to commercial and non-commercial copies. There is no fee, royalty, registration, or requirement to publish your own source code under ISC.
Required notices
All copies of get-cookie must preserve its copyright notice and permission notice. This includes modified copies and copies bundled into another product. A practical way to comply is to include the complete, unmodified LICENSE text supplied with the version you use.
An author name, package name, website link, or ISC identifier alone does not replace those notices. You may add notices for your own contributions while preserving the existing notices.
| How you use get-cookie | How to carry the notices |
|---|---|
| Share source code containing the library or copied portions | Keep the accompanying LICENSE text with the copied code. |
| Ship an application, compiled executable, or minified bundle containing the library | Include the LICENSE text in a third-party licences file or accompanying documentation supplied with the product, even if the build removes source comments. |
| Distribute a container or an installation package containing the library | Preserve its LICENSE file in the package, or include the text in the distribution's third-party notices. |
| Run the library internally or on your servers | Preserve the notices in your copies. Running a hosted service does not itself require public-facing credit. |
Preparing a third-party licences entry
- Take
LICENSEfrom the exact version of get-cookie you distribute. For an npm installation, it is normally atnode_modules/@mherod/get-cookie/LICENSE. - Copy its complete text into your product's third-party licences file, keeping its copyright notice, permission notice, and disclaimer intact.
- Ship that file with each distribution containing get-cookie.
You can place this optional heading above the full licence text:
@mherod/get-cookie
https://github.com/mherod/get-cookieThe heading is an aid to identifying the dependency; it is not sufficient attribution by itself. This explanatory guide need not be redistributed.
Public credit
Credit in an About page, README, website, or other public-facing location is welcome but optional. ISC does not require a badge, advertisement, or product-interface credit. Public credit also does not replace the notices that must accompany copies of the library.
Other software and contributions
Dependencies and any separately licensed third-party material retain their own licences and notices. get-cookie's ISC licence does not replace those terms.
Contributions to get-cookie are accepted under the same ISC licence. See the repository's CONTRIBUTING.md for contribution guidance.
Full licence text
The text below comes directly from the repository's LICENSE file. When redistributing get-cookie, use the licence supplied with your version.
ISC License
Copyright (c) 2022-2026 Matthew Herod and contributors
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.