# obj_extra_functions

> 仅供个人学习参考使用

Latest version **1.0.0** (published 2023-02-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install obj_extra_functions
pnpm add obj_extra_functions
yarn add obj_extra_functions
bun add obj_extra_functions
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-02-03 |
| First published | 2023-02-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | tinyua5 |

## Links

- npm: https://www.npmjs.com/package/obj_extra_functions
- npm.io page: https://npm.io/package/obj_extra_functions

## Recent versions

- 1.0.0 (latest) — 2023-02-03

## README

### webpack 打包封装js库
仅供个人学习参考使用

#### 依赖
```js
  "webpack": "^5.75.0"
  "webpack-cli": "^5.0.1"
```
#### 命令
```bash
  npm run build
```
相关配置（webpack.config.js）
```js
const path = require('path');

module.exports = {
    mode: "production",
    entry: './src/index.js',
    output: {
        path: path.resolve(__dirname, 'dist'),
        filename: 'ObjExtraFunctions.js',
        library: {
            name:'ObjExtraFunctions',   // 导出的模块名
            type:'umd'                  // 通用类型 建议
        }
    },
};
```


[参考教程](https://webpack.docschina.org/guides/author-libraries/)

---
_Source: https://npm.io/package/obj_extra_functions · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
