open-index/open-npm huggingface dataset:
npm package: @lijinhai255/hooks
Description: To install dependencies:
Author: lijinhai255
Latest version: 0.1.0

# inspur-hooks

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.js
```

This project was created using `bun init` in bun v1.1.34. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
npm package: @lijixuan/safe-get
Description: ``npm i @lijixuan/safe-get``
Author: 15201002062@163.com
Latest version: 1.0.2

# safeGet

``npm i @lijixuan/safe-get``

```js

const safeGet = require("@lijixuan/safe-get");

const data = {
  "a": {
    "b": {
      "c": [
        null,
        {
          "d": "hello world"
        }
      ]
    }
  }
};

const value = safeGet(data, "a.b.c[1].d");
// value = "hello world"
```
npm package: @lijixuan/safe-set
Description: ``npm i @lijixuan/safe-set``
Author: 15201002062@163.com
Latest version: 1.0.1

# safeSet

``npm i @lijixuan/safe-set``

```
const safeSet = require("@lijixuan/safe-set");
const data = {};
const value = safeSet(data, "a.b.c[1].d", "hello world");

//输出结果
value = {
  "a": {
    "b": {
      "c": [
        null,
        {
          "d": "hello world"
        }
      ]
    }
  }
};

```