https://github.com/artdecocode/productive
The Utility To Ensure That All Source Dependencies Are Listed As Prod Dependencies.
https://github.com/artdecocode/productive
Last synced: about 2 months ago
JSON representation
The Utility To Ensure That All Source Dependencies Are Listed As Prod Dependencies.
- Host: GitHub
- URL: https://github.com/artdecocode/productive
- Owner: artdecocode
- License: mit
- Created: 2019-04-02T10:45:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-02T10:46:12.000Z (almost 7 years ago)
- Last Synced: 2025-01-08T06:32:25.653Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://artd.eco
- Size: 16.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# productive
[](https://npmjs.org/package/productive)
`productive` is The Utility To Ensure That All Source Dependencies Are Listed As Prod Dependencies.
```sh
yarn add -E productive
```
## Table Of Contents
- [Table Of Contents](#table-of-contents)
- [API](#api)
- [`productive(arg1: string, arg2?: boolean)`](#mynewpackagearg1-stringarg2-boolean-void)
* [`Config`](#type-config)
- [Copyright](#copyright)
## API
The package is available by importing its default function:
```js
import productive from 'productive'
```
## `productive(`
`arg1: string,`
`arg2?: boolean,`
`): void`
Call this function to get the result you want.
__`Config`__: Options for the program.
| Name | Type | Description | Default |
| --------- | --------- | ----------------- | ------- |
| shouldRun | _boolean_ | A boolean option. | `true` |
| __text*__ | _string_ | A text to return. | - |
```js
/* alanode example/ */
import productive from 'productive'
(async () => {
const res = await productive({
text: 'example',
})
console.log(res)
})()
```
```
example
```
## Copyright
(c) [Art Deco][1] 2019
[1]: https://artd.eco