npm.io
0.3.5 • Published 22h ago

@langri-sha/projen-license

Licence
MIT
Version
0.3.5
Deps
1
Size
19 kB
Vulns
0
Weekly
0
Stars
2

@langri-sha/projen-license

A projen component for generating license files using [license-o-matic].

Usage

Install dependencies:

npm install -D projen @langri-sha/projen-license

Then, create an License component for your projects:

import { Project } from 'projen'
import { License } from '@langri-sha/license'

const project = new Project({
  name: 'my-project',
})

new License(project, {
  filename: 'license',
  spdx: 'MIT',
  copyrightHolder: 'John Smith <john.smith@example.com>',
  copyrightYear: '2000',
})