apius 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -17,12 +17,12 @@ export default {
17
17
  }
18
18
  },
19
19
 
20
- logHex: (str, hexCode, bold = false) => {
20
+ hex: (str, hexCode, bold = false) => {
21
21
  if(bold == false) {
22
22
  const requestHex = chalk.hex(hexCode)
23
- return console.log(requestHex(str))
23
+ return requestHex(str)
24
24
  } else if(bold == true) {
25
- return console.log(chalk.hex(hexCode).bold(str))
25
+ return chalk.hex(hexCode).bold(str)
26
26
  }
27
27
  },
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apius",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A simple package.",
5
5
  "main": "index.js",
6
6
  "type": "module",