Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bhala

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bhala - npm Package Compare versions

Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1

30

dist/constants/emojis.js

@@ -151,25 +151,25 @@ "use strict";

CLOCK1: '🕐',
CLOCK2: '🕑',
CLOCK3: '🕒',
CLOCK4: '🕓',
CLOCK5: '🕔',
CLOCK6: '🕕',
CLOCK7: '🕖',
CLOCK8: '🕗',
CLOCK9: '🕘',
CLOCK10: '🕙',
CLOCK1030: '🕥',
CLOCK11: '🕚',
CLOCK1130: '🕦',
CLOCK12: '🕛',
CLOCK1230: '🕧',
CLOCK130: '🕜',
CLOCK2: '🕑',
CLOCK230: '🕝',
CLOCK3: '🕒',
CLOCK330: '🕞',
CLOCK4: '🕓',
CLOCK430: '🕟',
CLOCK5: '🕔',
CLOCK530: '🕠',
CLOCK6: '🕕',
CLOCK630: '🕡',
CLOCK7: '🕖',
CLOCK730: '🕢',
CLOCK8: '🕗',
CLOCK830: '🕣',
CLOCK9: '🕘',
CLOCK930: '🕤',
CLOCK1030: '🕥',
CLOCK1130: '🕦',
CLOCK1230: '🕧',
CLOSED_BOOK: '📕',

@@ -563,4 +563,4 @@ CLOSED_LOCK_WITH_KEY: '🔐',

PIG: '�',
PIG2: '�',
PIG_NOSE: '�',
PIG2: '�',
PILL: '💊',

@@ -783,13 +783,13 @@ PINEAPPLE: '🍍',

TWO_WOMEN_HOLDING_HANDS: '👭',
U6E80: '🈵',
U7A7A: '🈳',
U55B6: '🈺',
U5272: '🈹',
U5408: '🈴',
U55B6: '🈺',
U6307: '🈯',
U6708: '🈷️',
U6709: '🈶',
U6E80: '🈵',
U7121: '🈚',
U7533: '🈸',
U7981: '🈲',
U7A7A: '🈳',
UK: '🇬🇧',

@@ -796,0 +796,0 @@ UMBRELLA: '☔',

@@ -51,4 +51,4 @@ "use strict";

}
const bahla = new Bahle();
exports.default = bahla;
module.exports = bahla;
const bhala = new Bahle();
exports.default = bhala;
module.exports = bhala;

@@ -149,25 +149,25 @@ declare const _default: {

CLOCK1: string;
CLOCK2: string;
CLOCK3: string;
CLOCK4: string;
CLOCK5: string;
CLOCK6: string;
CLOCK7: string;
CLOCK8: string;
CLOCK9: string;
CLOCK10: string;
CLOCK1030: string;
CLOCK11: string;
CLOCK1130: string;
CLOCK12: string;
CLOCK1230: string;
CLOCK130: string;
CLOCK2: string;
CLOCK230: string;
CLOCK3: string;
CLOCK330: string;
CLOCK4: string;
CLOCK430: string;
CLOCK5: string;
CLOCK530: string;
CLOCK6: string;
CLOCK630: string;
CLOCK7: string;
CLOCK730: string;
CLOCK8: string;
CLOCK830: string;
CLOCK9: string;
CLOCK930: string;
CLOCK1030: string;
CLOCK1130: string;
CLOCK1230: string;
CLOSED_BOOK: string;

@@ -561,4 +561,4 @@ CLOSED_LOCK_WITH_KEY: string;

PIG: string;
PIG2: string;
PIG_NOSE: string;
PIG2: string;
PILL: string;

@@ -781,13 +781,13 @@ PINEAPPLE: string;

TWO_WOMEN_HOLDING_HANDS: string;
U6E80: string;
U7A7A: string;
U55B6: string;
U5272: string;
U5408: string;
U55B6: string;
U6307: string;
U6708: string;
U6709: string;
U6E80: string;
U7121: string;
U7533: string;
U7981: string;
U7A7A: string;
UK: string;

@@ -794,0 +794,0 @@ UMBRELLA: string;

import * as T from './types';
declare class Bahle implements T.Bahla {
declare class Bahle implements T.Bhala {
readonly EMO: {

@@ -151,25 +151,25 @@ A: string;

CLOCK1: string;
CLOCK2: string;
CLOCK3: string;
CLOCK4: string;
CLOCK5: string;
CLOCK6: string;
CLOCK7: string;
CLOCK8: string;
CLOCK9: string;
CLOCK10: string;
CLOCK1030: string;
CLOCK11: string;
CLOCK1130: string;
CLOCK12: string;
CLOCK1230: string;
CLOCK130: string;
CLOCK2: string;
CLOCK230: string;
CLOCK3: string;
CLOCK330: string;
CLOCK4: string;
CLOCK430: string;
CLOCK5: string;
CLOCK530: string;
CLOCK6: string;
CLOCK630: string;
CLOCK7: string;
CLOCK730: string;
CLOCK8: string;
CLOCK830: string;
CLOCK9: string;
CLOCK930: string;
CLOCK1030: string;
CLOCK1130: string;
CLOCK1230: string;
CLOSED_BOOK: string;

@@ -563,4 +563,4 @@ CLOSED_LOCK_WITH_KEY: string;

PIG: string;
PIG2: string;
PIG_NOSE: string;
PIG2: string;
PILL: string;

@@ -783,13 +783,13 @@ PINEAPPLE: string;

TWO_WOMEN_HOLDING_HANDS: string;
U6E80: string;
U7A7A: string;
U55B6: string;
U5272: string;
U5408: string;
U55B6: string;
U6307: string;
U6708: string;
U6709: string;
U6E80: string;
U7121: string;
U7533: string;
U7981: string;
U7A7A: string;
UK: string;

@@ -1002,25 +1002,25 @@ UMBRELLA: string;

CLOCK1: string;
CLOCK2: string;
CLOCK3: string;
CLOCK4: string;
CLOCK5: string;
CLOCK6: string;
CLOCK7: string;
CLOCK8: string;
CLOCK9: string;
CLOCK10: string;
CLOCK1030: string;
CLOCK11: string;
CLOCK1130: string;
CLOCK12: string;
CLOCK1230: string;
CLOCK130: string;
CLOCK2: string;
CLOCK230: string;
CLOCK3: string;
CLOCK330: string;
CLOCK4: string;
CLOCK430: string;
CLOCK5: string;
CLOCK530: string;
CLOCK6: string;
CLOCK630: string;
CLOCK7: string;
CLOCK730: string;
CLOCK8: string;
CLOCK830: string;
CLOCK9: string;
CLOCK930: string;
CLOCK1030: string;
CLOCK1130: string;
CLOCK1230: string;
CLOSED_BOOK: string;

@@ -1414,4 +1414,4 @@ CLOSED_LOCK_WITH_KEY: string;

PIG: string;
PIG2: string;
PIG_NOSE: string;
PIG2: string;
PILL: string;

@@ -1634,13 +1634,13 @@ PINEAPPLE: string;

TWO_WOMEN_HOLDING_HANDS: string;
U6E80: string;
U7A7A: string;
U55B6: string;
U5272: string;
U5408: string;
U55B6: string;
U6307: string;
U6708: string;
U6709: string;
U6E80: string;
U7121: string;
U7533: string;
U7981: string;
U7A7A: string;
UK: string;

@@ -1711,3 +1711,3 @@ UMBRELLA: string;

}
declare const bahla: Bahle;
export default bahla;
declare const bhala: Bahle;
export default bhala;
export declare type OutputOptions = {
isColorless?: boolean;
};
export interface Bahla {
export interface Bhala {
debug(message: string, icon?: string, options?: OutputOptions): void;

@@ -6,0 +6,0 @@ debug(message: string, options?: OutputOptions): void;

{
"name": "bhala",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.1",
"license": "MIT",

@@ -20,19 +20,22 @@ "description": "A pretty (!), powerful and customizable logging library for Node.js.",

"dev:watch": "tsc -p ./tsconfig.dev.json -w",
"test": "echo \"Error: no test specified\" && exit 1",
"test:lint": "eslint . --ext .js,.ts"
"test": "npm run test:lint",
"test:lint": "eslint . --ext .js,.ts",
"preversion": "npm test",
"postversion": "node ./scripts/finalizeVersionBump.js"
},
"dependencies": {
"chalk": "^4.1.0"
"chalk": "4.1.2"
},
"devDependencies": {
"@ivangabriele/eslint-config-typescript-base": "1.0.0",
"@ivangabriele/eslint-config-typescript-base": "1.3.0",
"@ivangabriele/prettier-config": "1.1.0",
"@types/node": "14.14.37",
"concurrently": "6.0.1",
"@types/node": "14.17.11",
"concurrently": "6.2.1",
"cpy-cli": "3.1.1",
"del-cli": "3.0.1",
"jest": "26.6.3",
"nodemon": "2.0.7",
"del-cli": "4.0.1",
"jest": "27.0.6",
"nodemon": "2.0.12",
"shelljs": "0.8.4",
"typescript": "4.3.5",
"wait-on": "5.3.0"
"wait-on": "6.0.0"
},

@@ -39,0 +42,0 @@ "prettier": "@ivangabriele/prettier-config",

<p align="center">
<a href="https://yarnpkg.com/">
<img alt="bhala" src="https://raw.githubusercontent.com/ivangabriele/bahla/main/assets/logo.svg" width="480">
<img alt="bhala" src="https://raw.githubusercontent.com/ivangabriele/bhala/main/assets/logo.svg" width="480">
</a>

@@ -14,3 +14,20 @@ </p>

<p align="center">
<strong>⚠️ WORK IN PROGRESS // DO NOT USE</strong>
<a href="https://github.com/ivangabriele/bhala/blob/main/LICENSE">
<img
alt="Licence"
src="https://img.shields.io/github/license/ivangabriele/bhala?style=flat-square"
/>
</a>
<a href="https://www.npmjs.com/package/bhala">
<img
alt="NPM Version"
src="https://img.shields.io/npm/v/bhala?style=flat-square"
/>
</a>
<a href="https://github.com/ivangabriele/bhala/actions?query=branch%3Amain++">
<img
alt="GitHub Workflow Status"
src="https://img.shields.io/github/workflow/status/ivangabriele/bhala/Test%20&%20Publish/main?style=flat-square"
/>
</a>
</p>

@@ -37,7 +54,12 @@

- [`OutputOptions`](#outputoptions)
- [Name](#name)
## Usage
A common proposed practice is to use the `β` character to reference to **bahla** library.
A not-so-serious proposed practice is to use the `ß` character to reference **bhala** library.
- Linux: DuckDuckGo it!
- macOS: <kbd>Option</kbd> + <kbd>s</kbd>
- Windows: <kbd>Alt</kbd> + <kbd>2</kbd><kbd>2</kbd><kbd>5</kbd>
## Settings

@@ -60,4 +82,4 @@

```ts
β.log(message: string, isColorless?: boolean, options)
β.log(message: string, icon?: string, isColorless?: boolean)
ß.log(message: string, isColorless?: boolean, options)
ß.log(message: string, icon?: string, isColorless?: boolean)
```

@@ -68,4 +90,4 @@

```ts
β.log(message: string, isColorless?: boolean, options)
β.log(message: string, icon?: string, isColorless?: boolean)
ß.log(message: string, isColorless?: boolean, options)
ß.log(message: string, icon?: string, isColorless?: boolean)
```

@@ -76,4 +98,4 @@

```ts
β.log(message: string, isColorless?: boolean, options)
β.log(message: string, icon?: string, isColorless?: boolean)
ß.log(message: string, isColorless?: boolean, options)
ß.log(message: string, icon?: string, isColorless?: boolean)
```

@@ -84,4 +106,4 @@

```ts
β.log(message: string, isColorless?: boolean, options)
β.log(message: string, icon?: string, isColorless?: boolean)
ß.log(message: string, isColorless?: boolean, options)
ß.log(message: string, icon?: string, isColorless?: boolean)
```

@@ -92,4 +114,4 @@

```ts
β.log(message: string, options: OutputOptions)
β.log(message: string, icon?: string, isColorless?: boolean)
ß.log(message: string, options: OutputOptions)
ß.log(message: string, icon?: string, isColorless?: boolean)
```

@@ -100,3 +122,3 @@

```ts
β.log("Some")
ß.log("Some")
// Output:

@@ -114,1 +136,10 @@ ```

```
## Name
You may wonder why "bhala"? It means "write" in Zulu, which you can learn [how to conjugate][link-bhala] (ngibhala,
ubhala, etc) if you also love learning new languages 😉.
---
[link-bhala]: https://en.wikipedia.org/wiki/Zulu_grammar#Verbs
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc