open-index/open-npm huggingface dataset:
npm package: @samsid032/testing-module
Description: <!-- # angular-sample-module
Author: Muhammad Salman
Latest version: 0.4.2

<!-- # angular-sample-module

## Installation

To install this library, run:

```bash
$ npm install angular-testing-module --save
```

## Consuming your library

Once you have published your library to npm, you can import your library in any Angular application by running:

```bash
$ npm install angular-sample-module
```

and then from your Angular `AppModule`:

```typescript
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

// Import your library
import { SampleModule } from 'angular-sample-module';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,

    // Specify your library as an import
    LibraryModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
```

Once your library is imported, you can use its components, directives and pipes in your Angular application:

```xml
<!-- You can now use your library component in app.component.html -->
<h1>
  {{title}}
</h1>
<sampleComponent></sampleComponent>
```

## Development

To generate all `*.js`, `*.js.map` and `*.d.ts` files:

```bash
$ npm run tsc
```

To lint all `*.ts` files:

```bash
$ npm run lint
```

## License

MIT © [Bram Borggreve](borggreve@gmail.com) -->
npm package: @samsiri/scrolljs
Description: This package provides a way to animate elements on scroll events
Author: Sam Sirianni
Latest version: 1.4.1

# ScrollJS
by [Sam Sirianni](https://www.samsirianni.com)

ScrollJS is a library written in Javascript.
With ScrollJS you can animate elements on scroll events.
Visit the [ScrollJS website](https://samsirianni.com/scrolljs).

## Installation

**First thing first**, remember to link in the `head` section the CSS file (`scrolljs.css`) that you can directly download 
at [this github link](https://github.com/samsiriannidev/scrolljs).

### NPM and React

If you want to use ScrollJS with React, open the terminal and type:

```bash
npm i @samsiri/scrolljs --save
```

#### Usage

```javascript
import React, { Component } from 'react';
import scrolljs from '@samsiri/scrolljs';

export default class Index extends Component {
    componentDidMount() {
        scrolljs();  // initialize ScrollJS
    }

    render() {
        return (
            <div>
                <h1 scrolljs="fade-up">Hello World!</h1>
            </div>
        )
    }
}
```

### HTML

If you want to use ScrollJS directly in a HTML page, download the files **scrolljs.js** and **scrolljs.css** from
[my GitHub repository](https://github.com/samsiriannidev/scrolljs).

#### Usage

```html
<!DOCTYPE html>
<html>
    <head>
        <link rel="stylesheet" href="scrolljs.css"/>
    </head>
    <body>
        <h1 scrolljs="flip-left">Hello World!</h1>
        <script src="scrolljs.js"></script>
    </body>
</html>
```

### ScrollJS attributes
```html
<div scrolljs="type[|duration(ms)|timing-function]"></div>

<!-- Examples -->
<div scrolljs="flip-left|800|ease"></div>
<div scrolljs="fade-up|350"></div>
<div scrolljs="flip-left|750|linear"></div>
```

#### type
- **fade**
- **fade-up**
- **fade-down**
- **fade-left**
- **fade-right**
- **fade-up-left**
- **fade-down-left**
- **fade-down-right**
- **fade-up-right**
- **flip-left**
- **flip-up**
- **flip-right**
- **flip-up-right**
- **flip-down-right**
- **flip-up-left**
- **flip-down-left**
- **flip-down**
- **scale-up**
- **scale-down**

#### duration
Duration represents the transition duration in milliseconds.

#### timing-function
Timing function represents the timing function (Ex. *ease-in*).

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License
[MIT](https://choosealicense.com/licenses/mit/)