GoogleChromeLabs / jsbi

JSBI is a pure-JavaScript implementation of the official ECMAScript BigInt proposal.
https://v8.dev/features/bigint#polyfilling-transpiling
Apache License 2.0
919 stars 68 forks source link

Use SPDX identifier for Apache 2 License. #84

Open 12wrigja opened 3 years ago

12wrigja commented 3 years ago

For some environments, it's required that the licence for an OSS project be distributed as part of an application's source code, not as a separate document.

Obligatory not a Lawyer, but I believe the entire content of the Apache 2.0 License is replaceable with the relevant SPDX License identifier.

12wrigja commented 3 years ago

FWIW, this is done for Closure Library: https://github.com/google/closure-library/blob/a6c80eff2422aadb3759608a97c8bb49e8442d3b/closure/goog/base.js#L4

@mathiasbynens it might be good to run this past OSPO? There's also no Copyright notice for JSBI, maybe that needs to updated too?