
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
@laudio/licenser
Advanced tools
Automatically include licenses on the top of every source file. This is used in all Laudio repositories to ensure that each file has a license header.
Pre-built binaries for Linux, MacOS and Windows are available under the bin directory.
npm install -g @laudio/licenser
If you have Go installed, binaries can be regenerated for all platforms by running make
.
Provide a platform to make
for building for a specific platform. For example, to create a Linux binary:
make linux
Similarly, use make darwin
and make windows
for MacOS and Windows platforms.
Run the following command to get a binary in your $GOPATH/bin/
directory:
go install .
The license is passed via a file which can be set using the -l
flag.
licenser -l /path/to/LICENSE
By default, the LICENSE
file in the current working directory is searched for.
A default license is used if the -l
flag is not specified and the working directory does not
contain a LICENSE
file.
(c) Laudio, Inc. All Rights Reserved.
This file contains proprietary and confidential source
code. Unauthorized copying of this file, via any
medium is strictly prohibited.
(r) 2018 Laudio is a registered trademark of Laudio, Inc.
Use -m
flag to migrate to a new license.
licenser -l /path/to/LICENSE -m /path/to/new/license
This reads - Migrate the license specified by -l
to license specified by -m
.
Add the -d
flag for a dry run.
licenser -l /path/to/LICENSE -d
Add the -v
flag for verbose output. Since painting to the console can't keep up with the speed that the program runs at,
it might take longer for execution to complete. However, this is typically neglibible - it takes 500ms to 1s longer for ~20k files.
licenser -l /path/to/LICENSE -v
(c) Laudio, Inc. All Rights Reserved.
FAQs
Licensing utility for Laudio
We found that @laudio/licenser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.