open-index/open-npm huggingface dataset:
npm package: @logotip4ik_/defaults-deep
Description: Like `extend` but recursively copies only the missing properties/values to the target object.
Author: Bogdan Kostyuk
Latest version: 0.1.3

# @logotip4ik\_/defaults-deep

**NOTE:** This is a fork of original [defaults-deep](https://github.com/jonschlinkert/defaults-deep) but with vulnerability fixes and hopefully better maintenance 👀

> Like `extend` but recursively copies only the missing properties/values to the target object.

## Install

Install with [npm](https://www.npmjs.com/)

```shell
$ npm i @logotip4ik_/defaults-deep
```

Install with [yarn](https://classic.yarnpkg.com/lang/en/)

```sh
$ yarn add @logotip4ik_/defaults-deep
```

## Usage

```js
import defaults from "@logotip4ik_/defaults-deep";

defaults({ a: { one: "one" } }, { a: { two: "two" } });
//=> {a: {one: 'one', two: 'two'}};
```

## Related projects

- [assign-deep](https://github.com/jonschlinkert/assign-deep): Deeply assign the enumerable properties of source objects to a destination object. If a callback… [more](https://github.com/jonschlinkert/assign-deep)
- [extend-shallow](https://github.com/jonschlinkert/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util.
- [merge-deep](https://github.com/jonschlinkert/merge-deep): Recursively merge values in a javascript object.
- [mixin-deep](https://github.com/jonschlinkert/mixin-deep): Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone.
- [omit-deep](https://github.com/jonschlinkert/omit-deep): Recursively omit the given keys from an object.

## Running tests

Install dev dependencies and stub the project ([more about stubbing on antfu.me](https://antfu.me/posts/publish-esm-and-cjs#stubbing)):

```sh
$ yarn

$ yarn build:stub

$ yarn test
```

## Contributing

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/logotip4ik/defaults-deep-safe/issues)

## Author

**Jon Schlinkert**

- [github/jonschlinkert](https://github.com/jonschlinkert)
- [twitter/jonschlinkert](http://twitter.com/jonschlinkert)

**Bogdan Kostyuk**

> added vulnerability fix

- [github/logotip4ik](https://github.com/logotip4ik)

## License

Copyright © 2022 Bogdan Kostyuk
Released under the MIT license.
npm package: @logotip4ik_/g
Description: Script which will help you automate git flow
Author: Bogdan Kostyuk
Latest version: 2.2.3

# g (shell command)

## About

This command will help you to automate your git flow with ease

## Installation

Install it globally to use it where you want

- npm

  ```shell
  $ npm i -g @logotip4ik_/g
  ```

- yarn
  ```shell
  $ yarn global add @logotip4ik_/g
  ```

## Usage:

### Available commands:

- `init` - initialize git
- `update` - create commit with `update` message (ex. `"update: ..."`)
- `fix` - create commit with `fix` message (ex. `"fix: ..."`)
- `log` - log to console current branch, last 5 commits and not staged files
- `sync` - pull and push from origin, accepts the same arguments as pull
- `pull` - pull from origin  
  can accept this arguments:
  - `g pull` - will pull from origin and current branch
  - `g pull v5` - will pull from origin and `v5` branch
  - `g pull fake-origin v5` - will pull from `fake-origin` and `v5` branch
- `push` - push to the origin, accepts the same arguments as pull

### Examples

- init with message and `v2` branch name:

  ```shell
  $ g init v2 -m just for example
  ```

  what it gonna do:

  ```shell
  $ git init -b v2
  $ git add .
  $ git commit -m "init: <your message passed via -m flag>"
  $ git push origin <your current branch>
  ```

- create an update with message and push to origin:

  ```shell
  $ g -m just for example -i ./that/dummy/file.js -ph
  ```

  what it gonna do:

  ```shell
  $ git add <files specified by -i flag> ./that/dummy/file.js
  $ git commit -m "update: <your message passed via -m flag>"
  $ git push origin <current branch>
  ```

- create fix with a message and push to `v3` branch:

  ```shell
  $ g -m just for example -i ./that/dummy/file.js -ph v3
  ```

  what it gonna do:

  ```$
  $ git add .
  $ git commit -m "fix: <your message passed via -m flag>"
  $ git push origin v3
  ```
npm package: @logotip4ik_/nuxt-cloudflare-headers
Description: [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href]
Latest version: 1.3.3

# ☁ Nuxt3 Cloudflare Headers

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]

> Cloudflare headers Module for Nuxt3

[📖 **Release Notes**](https://github.com/logotip4ik/nuxt-cloudflare-headers/releases)

## Features

- 👌 Easy to use
- ✅ Nuxt3 compatible
- 🧾 Supports static generation

## Setup

1. Add `@logotip4ik_/nuxt-cloudflare-headers` dependency to your project

```bash
yarn add @logotip4ik_/nuxt-cloudflare-headers # or npm install @logotip4ik_/nuxt-cloudflare-headers
```

2. Add `@logotip4ik_/nuxt-cloudflare-headers` to the `modules` section of `nuxt.config.js`

```js
// nuxt.config.js
import { defineNuxtConfig } from "nuxt";
import cloudflareHeaders from "@logotip4ik_/nuxt-cloudflare-headers";

export default defineNuxtConfig({
  modules: [
    // With inlined options
    [cloudflareHeaders, { "/api": { "x-powered-by": "cloudflare" } }],
  ],
});
```

Or a separate section `nuxt-cloudflare-headers` for module options:

```js
// nuxt.config.js
import { defineNuxtConfig } from "nuxt";
import cloudflareHeaders from "@logotip4ik_/nuxt-cloudflare-headers";

export default defineNuxtConfig({
  modules: [cloudflareHeaders],

  cloudflareHeaders: {
    "/*": { "some-cool": "header" },
  },
});
```

## Documentation

```js
// nuxt.config.js
import { defineNuxtConfig } from "nuxt";
import cloudflareHeaders from "@logotip4ik_/nuxt-cloudflare-headers";

export default defineNuxtConfig({
  modules: [cloudflareHeaders],

  cloudflareHeaders: {
    "/*": { "some-cool": "header", "hello": "world" },
    "/admin": { "some-cool": false }, // detaching `some-cool` header from admin route
  },
});
```

In `cloudflareHeaders` object key (`/*`, `/admin`) will be route matcher and array of objects or plain object will be actual header rules. Where `some-cool` will be header name and `header` will be header value. Also you can detach a header from route by providing `false` as value. So if you are generating your project with such a config, nuxt will prerender `_headers` file with this content inside:

```text
/*
  some-cool: header
  hello: world

/admin
  ! some-cool
```

> For more features read [cloudflare docs about `_headers` file](https://developers.cloudflare.com/pages/platform/headers)

## Development

1. Clone this repository
2. Run `npm run dev:prepare` to generate type stubs.
3. Use `npm run dev` to start [playground](./playground) in development mode.

## License

[MIT License](./LICENSE)

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@logotip4ik_/nuxt-cloudflare-headers/latest.svg
[npm-version-href]: https://npmjs.com/package/@logotip4ik_/nuxt-cloudflare-headers
[npm-downloads-src]: https://img.shields.io/npm/dt/@logotip4ik_/nuxt-cloudflare-headers.svg
[npm-downloads-href]: https://npmjs.com/package/@logotip4ik_/nuxt-cloudflare-headers