open-index/open-npm huggingface dataset:
npm package: @joepie91/gulp-partial-electron
Description: A wrapper module for managing an Electron process
Author: Sven Slootweg
Latest version: 1.0.1

# gulp-partial-electron

A wrapper module for managing an Electron process. Used in my Gulp presets.

## License

[WTFPL](http://www.wtfpl.net/txt/copying/) or [CC0](https://creativecommons.org/publicdomain/zero/1.0/), whichever you prefer. A donation and/or attribution are appreciated, but not required.

## Donate

My income consists largely of donations for my projects. If this module is useful to you, consider [making a donation](http://cryto.net/~joepie91/donate.html)!

You can donate using Bitcoin, PayPal, Flattr, cash-in-mail, SEPA transfers, and pretty much anything else.

## Contributing

Pull requests welcome. Please make sure your modifications are in line with the overall code style, and ensure that you're editing the files in `src/`, not those in `lib/`.

Build tool of choice is `gulp`; simply run `gulp` while developing, and it will watch for changes.

Be aware that by making a pull request, you agree to release your modifications under the licenses stated above.
npm package: @joepie91/gulp-partial-livereload
Description: Gulp partial for returning a configured gulp-livereload stream
Author: Sven Slootweg
Latest version: 1.0.1

# gulp-partial-livereload

Returns a preconfigured `gulp-livereload` stream. Used in my Gulp presets.

## License

[WTFPL](http://www.wtfpl.net/txt/copying/) or [CC0](https://creativecommons.org/publicdomain/zero/1.0/), whichever you prefer. A donation and/or attribution are appreciated, but not required.

## Donate

My income consists largely of donations for my projects. If this module is useful to you, consider [making a donation](http://cryto.net/~joepie91/donate.html)!

You can donate using Bitcoin, PayPal, Flattr, cash-in-mail, SEPA transfers, and pretty much anything else.

## Contributing

Pull requests welcome. Please make sure your modifications are in line with the overall code style, and ensure that you're editing the files in `src/`, not those in `lib/`.

Build tool of choice is `gulp`; simply run `gulp` while developing, and it will watch for changes.

Be aware that by making a pull request, you agree to release your modifications under the licenses stated above.
npm package: @joepie91/gulp-partial-logger
Description: Gulp partial for logging output and errors of a pipeline
Author: Sven Slootweg
Latest version: 1.0.9

# gulp-partial-logger

A wrapper stream that sets up error and file logging for a Gulp pipeline. Used in my Gulp presets.

## License

[WTFPL](http://www.wtfpl.net/txt/copying/) or [CC0](https://creativecommons.org/publicdomain/zero/1.0/), whichever you prefer. A donation and/or attribution are appreciated, but not required.

## Donate

My income consists largely of donations for my projects. If this module is useful to you, consider [making a donation](http://cryto.net/~joepie91/donate.html)!

You can donate using Bitcoin, PayPal, Flattr, cash-in-mail, SEPA transfers, and pretty much anything else.

## Contributing

Pull requests welcome. Please make sure your modifications are in line with the overall code style, and ensure that you're editing the files in `src/`, not those in `lib/`.

Build tool of choice is `gulp`; simply run `gulp` while developing, and it will watch for changes.

Be aware that by making a pull request, you agree to release your modifications under the licenses stated above.
npm package: @joepie91/gulp-partial-patch-livereload-logger
Description: Patches gulp-livereload to use a gulp-named-log logger
Author: Sven Slootweg
Latest version: 1.0.1

# gulp-partial-patch-livereload-logger

Patches `gulp-livereload` to use a `gulp-named-log` logger. Used in my Gulp presets.

## License

[WTFPL](http://www.wtfpl.net/txt/copying/) or [CC0](https://creativecommons.org/publicdomain/zero/1.0/), whichever you prefer. A donation and/or attribution are appreciated, but not required.

## Donate

My income consists largely of donations for my projects. If this module is useful to you, consider [making a donation](http://cryto.net/~joepie91/donate.html)!

You can donate using Bitcoin, PayPal, Flattr, cash-in-mail, SEPA transfers, and pretty much anything else.

## Contributing

Pull requests welcome. Please make sure your modifications are in line with the overall code style, and ensure that you're editing the files in `src/`, not those in `lib/`.

Build tool of choice is `gulp`; simply run `gulp` while developing, and it will watch for changes.

Be aware that by making a pull request, you agree to release your modifications under the licenses stated above.
npm package: @joepie91/gulp-partial-run-process
Description: Runs an external process and passes through its output to a gulp-named-log logger
Author: Sven Slootweg
Latest version: 1.0.1

# gulp-partial-run-process

A wrapper module for running an external process and redirecting its output and status to a `gulp-named-log` logger. Used in my Gulp presets.

## License

[WTFPL](http://www.wtfpl.net/txt/copying/) or [CC0](https://creativecommons.org/publicdomain/zero/1.0/), whichever you prefer. A donation and/or attribution are appreciated, but not required.

## Donate

My income consists largely of donations for my projects. If this module is useful to you, consider [making a donation](http://cryto.net/~joepie91/donate.html)!

You can donate using Bitcoin, PayPal, Flattr, cash-in-mail, SEPA transfers, and pretty much anything else.

## Contributing

Pull requests welcome. Please make sure your modifications are in line with the overall code style, and ensure that you're editing the files in `src/`, not those in `lib/`.

Build tool of choice is `gulp`; simply run `gulp` while developing, and it will watch for changes.

Be aware that by making a pull request, you agree to release your modifications under the licenses stated above.
npm package: @joepie91/gulp-preset-es2015
Description: A Gulp preset for ES2015 code using Babel
Author: Sven Slootweg
Latest version: 1.0.1

# gulp-preset-es2015

Just an ES2015 preset for Gulp.

## License

[WTFPL](http://www.wtfpl.net/txt/copying/) or [CC0](https://creativecommons.org/publicdomain/zero/1.0/), whichever you prefer. A donation and/or attribution are appreciated, but not required.

## Donate

My income consists largely of donations for my projects. If this module is useful to you, consider [making a donation](http://cryto.net/~joepie91/donate.html)!

You can donate using Bitcoin, PayPal, Flattr, cash-in-mail, SEPA transfers, and pretty much anything else.

## Contributing

Pull requests welcome. Please make sure your modifications are in line with the overall code style, and ensure that you're editing the files in `src/`, not those in `lib/`.

Build tool of choice is `gulp`; simply run `gulp` while developing, and it will watch for changes.

Be aware that by making a pull request, you agree to release your modifications under the licenses stated above.
npm package: @joepie91/gulp-preset-jade
Description: A Gulp preset for Jade templates
Author: Sven Slootweg
Latest version: 1.0.1

# gulp-preset-jade

Just a Jade preset for Gulp.

## License

[WTFPL](http://www.wtfpl.net/txt/copying/) or [CC0](https://creativecommons.org/publicdomain/zero/1.0/), whichever you prefer. A donation and/or attribution are appreciated, but not required.

## Donate

My income consists largely of donations for my projects. If this module is useful to you, consider [making a donation](http://cryto.net/~joepie91/donate.html)!

You can donate using Bitcoin, PayPal, Flattr, cash-in-mail, SEPA transfers, and pretty much anything else.

## Contributing

Pull requests welcome. Please make sure your modifications are in line with the overall code style, and ensure that you're editing the files in `src/`, not those in `lib/`.

Build tool of choice is `gulp`; simply run `gulp` while developing, and it will watch for changes.

Be aware that by making a pull request, you agree to release your modifications under the licenses stated above.
npm package: @joepie91/gulp-preset-pegjs
Description: A Gulp preset for PEG.js grammars
Author: Sven Slootweg
Latest version: 1.0.0

# gulp-preset-pegjs

Just a PEG.js preset for Gulp.

## License

[WTFPL](http://www.wtfpl.net/txt/copying/) or [CC0](https://creativecommons.org/publicdomain/zero/1.0/), whichever you prefer. A donation and/or attribution are appreciated, but not required.

## Donate

My income consists largely of donations for my projects. If this module is useful to you, consider [making a donation](http://cryto.net/~joepie91/donate.html)!

You can donate using Bitcoin, PayPal, Flattr, cash-in-mail, SEPA transfers, and pretty much anything else.

## Contributing

Pull requests welcome. Please make sure your modifications are in line with the overall code style, and ensure that you're editing the files in `src/`, not those in `lib/`.

Build tool of choice is `gulp`; simply run `gulp` while developing, and it will watch for changes.

Be aware that by making a pull request, you agree to release your modifications under the licenses stated above.
npm package: @joepie91/gulp-preset-riot
Description: A Gulp preset for Riot.js components
Author: Sven Slootweg
Latest version: 1.0.1

# gulp-preset-riot

Just a Riot.js preset for Gulp.

## License

[WTFPL](http://www.wtfpl.net/txt/copying/) or [CC0](https://creativecommons.org/publicdomain/zero/1.0/), whichever you prefer. A donation and/or attribution are appreciated, but not required.

## Donate

My income consists largely of donations for my projects. If this module is useful to you, consider [making a donation](http://cryto.net/~joepie91/donate.html)!

You can donate using Bitcoin, PayPal, Flattr, cash-in-mail, SEPA transfers, and pretty much anything else.

## Contributing

Pull requests welcome. Please make sure your modifications are in line with the overall code style, and ensure that you're editing the files in `src/`, not those in `lib/`.

Build tool of choice is `gulp`; simply run `gulp` while developing, and it will watch for changes.

Be aware that by making a pull request, you agree to release your modifications under the licenses stated above.
npm package: @joepie91/gulp-preset-scss
Description: A Gulp preset for SCSS stylesheets
Author: Sven Slootweg
Latest version: 1.1.0

# gulp-preset-scss

Just an SCSS preset for Gulp.

## License

[WTFPL](http://www.wtfpl.net/txt/copying/) or [CC0](https://creativecommons.org/publicdomain/zero/1.0/), whichever you prefer. A donation and/or attribution are appreciated, but not required.

## Donate

My income consists largely of donations for my projects. If this module is useful to you, consider [making a donation](http://cryto.net/~joepie91/donate.html)!

You can donate using Bitcoin, PayPal, Flattr, cash-in-mail, SEPA transfers, and pretty much anything else.

## Contributing

Pull requests welcome. Please make sure your modifications are in line with the overall code style, and ensure that you're editing the files in `src/`, not those in `lib/`.

Build tool of choice is `gulp`; simply run `gulp` while developing, and it will watch for changes.

Be aware that by making a pull request, you agree to release your modifications under the licenses stated above.
npm package: @joepie91/range
Description: Generates a range of numbers (optionally with step size) as an iterator with array methods
Author: Sven Slootweg
Latest version: 1.0.0

# @joepie91/range

Generates an iterator containing all numbers in a specified range, optionally with a defined step size. The iterator also has (proxied) array methods, so that you can use methods like `.map` or `.filter` as if it were an array, without needing an explicit `Array.from` call. Negative step sizes are supported.

__Warning:__ Using the array methods really *uses the array methods*. This means that the entire iterator is turned into an array, meaning all values are loaded into memory at once. If you want an iterator because you're working with very large ranges (millions of numbers), then *don't use the array methods*. This is an edge case, and the vast majority of people can use the array methods safely. If you're not sure whether this applies to you, it probably doesn't!

## Usage

As an iterator:

```js
const range = require("@joepie91/range");

/* Prints (each on a new line) the numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 */
for (let i of range(0, 10)) {
	console.log(i);
}

/* Prints (each on a new line) the numbers 0, 2, 4, 6, 8 */
for (let i of range(0, 10, 2)) {
	console.log(i);
}

/* Prints (each on a new line) the numbers 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 */
for (let i of range(10, 0, -1)) {
	console.log(i);
}
```

As an array:

```js
const range = require("@joepie91/range");

/* Prints (each on a new line) the numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 */
range(0, 10).forEach((i) => {
	console.log(i);
});

/* Prints (each on a new line) the numbers 0, 2, 4, 6, 8 */
range(0, 10, 2).forEach((i) => {
	console.log(i);
});

/* Prints (each on a new line) the numbers 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 */
range(0, 10, -1).forEach((i) => {
	console.log(i);
});

/* Or for example, using `.map`: */
let numbers = range(0, 10).map((i) => i * 10);
console.log(numbers); // [ 0, 10, 20, 30, 40, 50, 60, 70, 80, 90 ]
```

## API

### range(start, end, step = 1)

Generates and returns the iterator-with-array-methods.

- __start:__ *Required.* The value to start at. This value is __inclusive.__
- __end:__ *Required.* The value to end at. This value is __exclusive,__, ie. it *isn't* included in the sequence. Take a careful look at the negative-step examples above to see the implications for counting down, as it may be unintuitive!
- __step:__ *Optional, defaults to `1`.* The step size to increment with. Specify a negative step size to count down instead of up.