@karmaniverous/chain-replace
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "@karmaniverous/chain-replace", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"publishConfig": { | ||
@@ -32,3 +32,2 @@ "access": "public" | ||
"babel-plugin-module-extension": "^0.1.3", | ||
"babel-plugin-transform-inline-environment-variables": "^0.4.4", | ||
"chai": "^4.3.7", | ||
@@ -43,9 +42,13 @@ "concat-md": "^0.5.0", | ||
"prettier": "^2.8.1", | ||
"release-it": "^15.5.1", | ||
"rimraf": "^3.0.2" | ||
"release-it": "^15.5.1" | ||
}, | ||
"main": "lib/export/index.js", | ||
"exports": { | ||
".": { | ||
"import": "./lib/index.js", | ||
"require": "./dist/default/lib/index.js" | ||
} | ||
}, | ||
"mocha": { | ||
"exclude": [ | ||
"./lib/**", | ||
"./dist/**", | ||
"./node_modules/**" | ||
@@ -67,9 +70,10 @@ ], | ||
"scripts": { | ||
"lint": "eslint src/**", | ||
"lint": "eslint lib/**", | ||
"test": "mocha", | ||
"build": "rimraf ./lib && babel src -d lib --config-file ./babel.build.js", | ||
"doc": "jsdoc2md -c doc/jsdoc.config.json -f src/**/*.* -t doc/api-template.hbs > doc/3-api.md && concat-md doc --hide-anchor-links > README.md", | ||
"build": "babel lib -d dist/default/lib --delete-dir-on-start --config-file ./dist/default/.babelrc", | ||
"doc": "jsdoc2md -c doc/jsdoc.config.json -f lib/**/*.* -t doc/api-template.hbs > doc/3-api.md && concat-md doc --hide-anchor-links > README.md", | ||
"package": "npm run lint && npm run test && npm run build && npm run doc", | ||
"release": "npm run package && dotenv -c -- release-it" | ||
} | ||
}, | ||
"type": "module" | ||
} |
@@ -9,5 +9,31 @@ # chain-replace | ||
```js | ||
import { chainReplace } from '@karmaniverous/chain-replace`; | ||
import { chainReplace, PACKAGE_INFO } from '@karmaniverous/chain-replace`; | ||
``` | ||
## Constants | ||
<dl> | ||
<dt><a href="#PACKAGE_INFO">PACKAGE_INFO</a> : <code><a href="#PackageInfo">PackageInfo</a></code></dt> | ||
<dd></dd> | ||
</dl> | ||
## Functions | ||
<dl> | ||
<dt><a href="#chainReplace">chainReplace(input, [replacements])</a> ⇒ <code>string</code></dt> | ||
<dd><p>Apply a chain of replacements to a string.</p> | ||
</dd> | ||
</dl> | ||
## Typedefs | ||
<dl> | ||
<dt><a href="#PackageInfo">PackageInfo</a> : <code>Object</code></dt> | ||
<dd></dd> | ||
</dl> | ||
<a name="PACKAGE_INFO"></a> | ||
## PACKAGE\_INFO : [<code>PackageInfo</code>](#PackageInfo) | ||
**Kind**: global constant | ||
<a name="chainReplace"></a> | ||
@@ -26,3 +52,13 @@ | ||
<a name="PackageInfo"></a> | ||
## PackageInfo : <code>Object</code> | ||
**Kind**: global typedef | ||
**Properties** | ||
| Name | Type | Description | | ||
| --- | --- | --- | | ||
| version | <code>string</code> | package version | | ||
--- | ||
@@ -29,0 +65,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5912
19
11
36
66
Yes