open-index/open-npm huggingface dataset:
npm package: @samuelcalegari/ds_ffmpeg
Description: Detect Video Scenes with FFMPEG
Author: Samuel Calegari
Latest version: 1.0.11

# Video Scene Detection with node.js

This library can detect changes in a video, make sure you have [ffmpeg](http://www.ffmpeg.org/) installed on your system.

## Installation

Via npm : 

`$ npm install @samuelcalegari/ds_ffmpeg`

## API

`ds_ffmpeg(videoPath,filterValue)`
* videoPath : path to video file.
* filterValue : filter value, float between 0 and 1 (default value : 0.3).
* returns array of float, correponding when changes appears (ex : [6.1, 51.2 ]).

## Usage

```
const ds_ffmpeg = require("@samuelcalegari/ds_ffmpeg")

ds_ffmpeg('input.mp4',0.1)
    .then(function(r){ 
	    console.log(r);
    })
    .catch(function(error) {
	    console.error(error);
    });
```

## Bugs and Issues

If you encounter any bugs or issues, feel free to open an issue at [github](https://github.com/samuelcalegari/ds_ffmpeg).


## Licence

```
Copyright © 2019, Samuel Calegari.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this
  list of conditions and the following disclaimer in the documentation and/or
  other materials provided with the distribution.
* Neither the name ds_ffmpeg nor the names of its contributor(s) may be used to
  endorse or promote products derived from this software without specific prior
  written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
npm package: @samuelcalegari/nasa-smart-api
Description: Nasa Smart API
Author: Samuel Calegari
Latest version: 1.0.3

# Nasa Smart API for node.js

This library make friendly access to NASA API

## Installation

Via npm : 

`$ npm install @samuelcalegari/nasa-smart-api`

## Usage

```
// Importation
const NasaSmartAPI = require("@samuelcalegari/nasa-smart-api")

// Declaration
const n = new NasaSmartAPI({key :'dDgtANyo4HGKNbBI1LgPLN5fvzZ2UERCffeu4nHR'});

// Make a simple query to search images from NASA
const search =  n.searchImage({'query': 'mars'})
    .then((items)=>{
        items.forEach(item => {
            
            // Print Image Title
            console.log(item.title);
            
            //Print Image URL : GetImageUrl function support format parameter ('orig', 'large', 'medium', 'small' or 'thumb')
            console.log(item.getImgUrl());
        });
    })
    .catch((e)=> {
        console.log(e);
    })

// Get picture of the day
const pic = n.getPictureOfTheDay({'date': '2019-12-19'}).then((imgurl)=>{
    console.log(imgurl);
})
```

## Bugs and Issues

If you encounter any bugs or issues, feel free to open an issue at [github](https://github.com/samuelcalegari/nasa-smart-api).


## Licence

```
Copyright © 2019, Samuel Calegari.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this
  list of conditions and the following disclaimer in the documentation and/or
  other materials provided with the distribution.
* Neither the name nasa-smart-api nor the names of its contributor(s) may be used to
  endorse or promote products derived from this software without specific prior
  written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
npm package: @samuelcastro/formik-material-ui
Description: ![](https://github.com/stackworx/formik-material-ui/workflows/Build%20formik-material-ui/badge.svg) ![](https://github.com/stackworx/formik-material-ui/workflows/Build%20formik-material-ui-pickers/badge.svg)[![license](https://badgen.now.sh/badge/license/
Latest version: 2.0.0-beta.3

# Formik Material-UI

![](https://github.com/stackworx/formik-material-ui/workflows/Build%20formik-material-ui/badge.svg)
![](https://github.com/stackworx/formik-material-ui/workflows/Build%20formik-material-ui-pickers/badge.svg)[![license](https://badgen.now.sh/badge/license/MIT)](./LICENSE)

Bindings for using [Formik](https://github.com/jaredpalmer/formik) with [Material-UI](https://material-ui.com/).

- [Documentation](https://stackworx.github.io/formik-material-ui)
- [Code Sandbox](https://codesandbox.io/s/915qlr56rp)

This project requires Formik>= 2.0.0. For Formik one please use formik-material-ui@1.0.x
npm package: @samuele1818/html-toc
Description: A lightweight and customizable npm package to extract a table of contents from your page
Author: sam1818
Latest version: 1.0.1

# html-TOC

A lightweight and customizable npm package to extract a table of contents from your page

# Usage

This package is provided as a npm package, but it should works even
with plain javascript.

To install using npm

```bash
npm i @samuele1818/html-toc
```

To install using yarn

```bash
yarn add @samuele1818/html-toc
```

Let's see an example of how to use the library.
In the example we use ReactJs.

App.js

```jsx
import getTOC from "html-toc"
import {useEffect} from "react";

function App() {
    useEffect(() => {
        // Select only h1-h3 headings
        const headings = ['h1', 'h2', 'h3'];

        // Call the function and pass custom headings range
        const tocElement = getTOC({headings});

        // Log the toc to see if library works
        console.log(tocElement)
    }, [])


    return (
        <div>
            <h1>I'm an header - the first</h1>
            <h2>I'm a sub header - the first</h2>
            <h3>I'm a sub header - the second</h3>
            <h4>I'm a sub header - the second</h4>
            <h5>I'm a sub header - the second</h5>
            <h6>I'm a sub header - the second</h6>

            <h1>I'm an header - the second</h1>
            <h1>I'm an header - the third</h1>
            <h1>I'm an header - the fourth</h1>
            <h1>I'm an header - the fifth</h1>
        </div>
    );
}
```

Now let see the result in console.

```jsx
<nav>
    <ol>
        <ol>
            <li>I'm an header - the first</li>
            <ol>
                <li>I'm a sub header - the first</li>
                <ol>
                    <li>I'm a sub header - the second</li>
                </ol>
            </ol>
        </ol>
        <li>I'm an header - the second</li>
        <li>I'm an header - the third</li>
        <li>I'm an header - the fourth</li>
        <li>I'm an header - the fifth</li>
    </ol>
</nav>
```

The `tocElement` is an HTML element that can be inserted in our page, so for example

```jsx
import getTOC from "html-toc"

const tocElement = getTOC();

// Add the toc element to the body
document.body.appendChild(tocELement)
```

# Contributing

I will create a guide soon

# Licence

This package is under MIT license, feel free to do whatever
you want with the code of this library
npm package: @samueleastdev/videojs-audiowaveform-player
Description: Simple json audio waveforms
Author: Samuel East
Latest version: 0.0.5

# videojs-audiowaveform-player

Simple json audio waveforms

![Simple json audio waveforms](https://samueleast.com/wp-content/uploads/2021/08/Screenshot-2021-08-26-at-23.22.27.png)

## The Waveform Data Is Generated Using the S3Bubble Desktop App

[Download S3Bubble Desktop App](https://s3bubble.com/aws-encoding-desktop-app)

it will fallback to AudioContext Web API

## You Can Get A Player Via The S3Bubble API

```
curl "https://s3bubbleapi.com/player?code={replace with your player code}" \
-H "Authorization: {replace with your api key}"
```

## Table of Contents

<!-- START doctoc -->
<!-- END doctoc -->

## Installation

```sh
npm install --save @samueleastdev/videojs-audiowaveform-player
```

## Usage

To include @samueleastdev/videojs-audiowaveform-player on your website or web application, use any of the following methods.

### `<script>` Tag

This is the simplest case. Get the script in whatever way you prefer and include the plugin _after_ you include [video.js][videojs], so that the `videojs` global is available.

```html
<script src="//path/to/video.min.js"></script>
<script src="//path/to/videojs-audiowaveform-player.min.js"></script>
<script>
  var wavePlayer = videojs("videojs-audiowaveform", {
    inactivityTimeout: 0,
    plugins: {
      audiowaveformPlayer: {
        theme: "audio",
        barWidth: 1,
        barHeight: 1,
        brand: "rgba(75, 150, 242, 1)",
        posterWidth: 160,
        styles: {
          position: "absolute",
          height: "120px",
          bottom: "30px",
        },
      },
    },
  });

  wavePlayer.src({
    poster:
      "https://d3370nekj200fx.cloudfront.net/2acd5699_8858_48fd_96c2_b87b5cc16442/master.jpg",
    src: "https://d3370nekj200fx.cloudfront.net/2acd5699_8858_48fd_96c2_b87b5cc16442/master.m3u8",
    type: "application/x-mpegURL",
    waveform:
      "https://d3370nekj200fx.cloudfront.net/2acd5699_8858_48fd_96c2_b87b5cc16442/master.json",
  });
</script>
```

## License

MIT. Copyright (c) Samuel East

[videojs]: http://videojs.com/