From faa6248015358bafd119c4db4b850391c7e0d5f7 Mon Sep 17 00:00:00 2001 From: Stas Prohetamine Date: Wed, 9 Feb 2022 20:10:40 +0300 Subject: [PATCH] save --- README.md | 3 ++- README/russian.md | 3 ++- package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5007375..7f2ff0d 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ $ npm install https://github.com/prohetamine/radio-station Connecting the module -```sh +```javascript const RadioStation = require('radio-station') ``` @@ -58,6 +58,7 @@ The Object [RadioStation](#radiostation) has only one method to create which is | debug | boolean | true | none | enables debugging mode | | mainPort | number | false | no | outputs the main port to the console | + ```javascript const { create } = require('radio-station') diff --git a/README/russian.md b/README/russian.md index 0309071..a61a4c3 100644 --- a/README/russian.md +++ b/README/russian.md @@ -34,7 +34,7 @@ $ npm install https://github.com/prohetamine/radio-station Подключение модуля -```sh +```javascript const RadioStation = require('radio-station') ``` @@ -58,6 +58,7 @@ const RadioStation = require('radio-station') | debug | boolean | true | нет | включает режим отладки | | mainPort | number | false | нет | выводит основной порт в консоль | + ```javascript const { create } = require('radio-station') diff --git a/package.json b/package.json index 28707ce..82fee02 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "radio-station", - "version": "0.0.21", + "version": "0.0.22", "description": "🎙 📡 A free radio station on node js with a simple setup and the ability to conduct live broadcasts on the site", "main": "src/index.js", "scripts": {