An open API service indexing awesome lists of open source software.

https://github.com/piotrpdev/expo-license-list

A group of react native paper components used to show what licenses your expo app is using
https://github.com/piotrpdev/expo-license-list

dependencies expo license licenses list react react-native react-native-paper typescript

Last synced: 5 months ago
JSON representation

A group of react native paper components used to show what licenses your expo app is using

Awesome Lists containing this project

README

        

# expo-license-list [![](https://img.shields.io/npm/v/expo-license-list.svg)](https://www.npmjs.com/package/expo-license-list)

A group of components used to display the licenses your expo app is using

[Snack](https://snack.expo.io/@razermoon/expo-licenses-list)

## Usage

Install using npm or yarn:
```
npm i expo-license-list
```
```
yarn add expo-license-list
```

Generate the license JSON data using the following script (you need [`npm-license-crawler`](https://www.npmjs.com/package/npm-license-crawler)):

```bash
npm-license-crawler -onlyDirectDependencies -json ./assets/licenses.json
```

Then use like this:

```js
import * as React from 'react';

import {
LicenseList,
getLicensesFromJSON,
LicenseListItem,
} from 'expo-license-list';

import { openBrowserAsync } from "expo-web-browser";

import licenses from './assets/licenses.json';

export default function App() {
return (
(
openBrowserAsync(url)} {...item} />
)}
/>
);
}

```

See the [documentation](https://razermoon.github.io/expo-license-list/) for more technical info.

## ToDo

- [ ] Add tests.