jslicense / spdx-license-ids

a list of SPDX license identifiers

Home Page:https://spdx.org/licenses/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node module compatibility

clementbiron opened this issue · comments

Hello 🔆

It would be great if spdx-license-ids becomes compatible with Node module, e.g:

import ids from 'spdx-license-ids';

For now, import assertions are experimental and not recommended in production environments.

The deployment form of this package is just a single JSON file.

If/when npm and the broader ecosystem offer a concrete, compatible way to tell the new module system that's what's going on, I'll be happy to take a PR.