@qiwi/license
QIWI OSS License
Last updated 3 months ago by qiwibot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @qiwi/license 
SYNC missed versions from official npm registry.

QIWI Open Source License

Build Status npm (tag) dependencyStatus Maintainability Test Coverage

MIT compatible and corresponding to the Civil Code of the Russian Federation.

Install

yarn add @qiwi/license -D
npm add @qiwi/license -D

Usage

Through CLI

qiwilicense --name='LICENSE' --dir=/some/path --lang=ru --year=2019

With npx

npx @qiwi/license --type=mit --year=2019 --dir=/some/path

TS/JS

import {generate, render} from '@qiwi/license'

// Get the text and do something next
const text = render({
  lang: 'ru',
  year: '2010-2019'
})

// Or just write to a file:
generate({
  name: 'LIC',
  dir: resolve(__dirname, '../foo/bar'),
  lang: 'en',
  year: '2019'
})

Options

Option Description Default
year Sets year Current .getFullYear()
lang Text language en
file License file name LICENSE
dir License target dir Project root
name Project name name from package.json
type License type qosl

Current Tags

  • 1.1.2                                ...           latest (3 months ago)

7 Versions

  • 1.1.2                                ...           3 months ago
  • 1.1.1                                ...           8 months ago
  • 1.1.0                                ...           8 months ago
  • 1.0.3                                ...           8 months ago
  • 1.0.2                                ...           8 months ago
  • 1.0.1                                ...           8 months ago
  • 1.0.0                                ...           8 months ago
Downloads
Today 0
This Week 0
This Month 7
Last Day 0
Last Week 0
Last Month 0
Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |