Socket
Book a DemoInstallSign in
Socket

@nativescript-community/licenses

Package Overview
Dependencies
Maintainers
19
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nativescript-community/licenses

Nativescript plugin to generate licenses JSON files

latest
npmnpm
Version
2.0.9
Version published
Maintainers
19
Created
Source

Installation

On iOS you need to run this first:

gem install cocoapods-acknowledgements

Usage

This plugin is a plugin to easily integrate licenses used your apps. The plugin will automatically generate licenses.json You simply need to load the licenses.json from anywhere in your app using either require('licenses.json') or require('~/licenses.json') You can then simply require that file to use it in your app. Here is an example JSON file format (moduleDescription not present on Android):

{
    "dependencies": [
        {
            "moduleName": "com.airbnb.android:lottie",
            "moduleDescription": "description",
            "moduleUrl": "https://github.com/airbnb/lottie-android",
            "moduleVersion": "3.4.2",
            "moduleLicense": "Apache License, Version 2.0",
            "moduleLicenseUrl": "https://www.apache.org/licenses/LICENSE-2.0"
        }
    ]
}

Keywords

NativeScript

FAQs

Package last updated on 06 Dec 2023

Did you know?

Socket

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.

Install

Related posts