open-index/open-npm huggingface dataset:
npm package: @husam287/nextjs-template
Description: A Nextjs template with the following features:
Latest version: 0.0.7

# NEXTJS Template

A Nextjs template with the following features:

-   Support SCSS
-   Support Redux toolkit
-   Axios with supporting multilang ({domainName}/{lang}/api)
-   Next-i18n supporting English and Arabic languages
-   Simple project structure
-   Small component library to get started with
-   Installed Bootstarp 5
-   Installed React icons
-   Fully Installed MUI
-   Fully Installed ANTD

It's easy to create a project, strip out the few components included, and still have the architecture in place to quickly start building an app.

## Usage

```bash
npx create-next-app *your project name* --example "https://github.com/husam287/nextjs-template"
```

First, run the development server:

```bash
npm run dev
# or
yarn dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.

## Learn More

To learn more about Next.js, take a look at the following resources:

-   [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
-   [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
npm package: @husam287/react-native-draw-overlay
Description: Ask for draw over other apps permission.
Author: Max Toyberman
Latest version: 1.0.0


# react-native-draw-overlay
Ask for draw over other apps permission.

## Getting started

`$ npm install react-native-draw-overlay --save`

### Mostly automatic installation

`$ react-native link react-native-draw-overlay`

### Manual installation

#### Android

1. Open up `android/app/src/main/java/[...]/MainActivity.java`
  - Add `import com.reactlibrary.RNDrawOverlayPackage;` to the imports at the top of the file
  - Add `new RNDrawOverlayPackage()` to the list returned by the `getPackages()` method
2. Append the following lines to `android/settings.gradle`:
  	```
  	include ':react-native-draw-overlay'
  	project(':react-native-draw-overlay').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-draw-overlay/android')
  	```
3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:
  	```
      implementation project(':react-native-draw-overlay')
  	```
## Usage
add 
```xml
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
```
to AndroidManifest.xml

```javascript
import RNDrawOverlay from 'react-native-draw-overlay';

// TODO: What to do with the module?
RNDrawOverlay.askForDispalayOverOtherAppsPermission()
	     .then(res => {
		 // res will be true if permission was granted 
	     })
	     .catch(e => {
		 // permission was declined
	     })
```