Socket
Socket
Sign inDemoInstall

beamjs-node

Package Overview
Dependencies
41
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2-TB

LICENSE

40

package.json
{
"name": "beamjs-node",
"version": "1.0.1",
"description": "",
"version": "1.0.2-TB",
"description": "Beam is a music-sharing, premium chat platform where you can socialise with your friends, talk on chat or voice, browse the internet with people all across the world.",
"main": "./src/beam.js",

@@ -9,4 +9,8 @@ "scripts": {

"lint": "eslint src",
"lint:fix": "eslint src --fix"
"lint:fix": "eslint src --fix",
"coveralls": "jscoverage lib && YOURPACKAGE_COVERAGE=1 nodeunit --reporter=lcov test | coveralls"
},
"engines": {
"node": ">=12.0.0"
},
"repository": {

@@ -16,4 +20,4 @@ "type": "git",

},
"author": "beamvideo",
"license": "ISC",
"author": "Callum <callumokane123@gmail.com>",
"license": "Apache-2.0",
"bugs": {

@@ -26,8 +30,26 @@ "url": "https://github.com/beamvideo/beamjs/issues"

"dotenv": "^8.2.0",
"node-fetch": "^2.6.0",
"util": "^0.12.2",
"ws": "^7.2.1"
},
"devDependencies": {
"coveralls": "^3.0.9",
"jscoverage": "^0.6.0",
"mocha-lcov-reporter": "^1.3.0",
"nodeunit": "^0.11.3",
"eslint": "^6.8.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-prettier": "^3.1.2",
"node-fetch": "^2.6.0",
"ws": "^7.2.1"
}
"eslint-plugin-prettier": "^3.1.2"
},
"keywords": [
"beamjs",
"beamvideo",
"beam",
"node",
"nodejs",
"javascript",
"api",
"framework",
"bot"
]
}
<div align="center">
<br />
<p>
<a href="https://beam.video"><img src="https://i.imgur.com/1JTPvM8.png" width="146" alt="beamjs" /></a>
</p>
<br />
<p>
<a href="https://www.npmjs.com/package/beamjs-node"><img src="https://img.shields.io/npm/v/beamjs-node.svg?maxAge=3600" alt="NPM version" /></a>
<a href="https://www.npmjs.com/package/beamjs-node"><img src="https://img.shields.io/npm/dt/beamjs-node.svg?maxAge=3600" alt="NPM downloads" /></a>
<a href="https://david-dm.org/beamvideo/beamjs"><img src="https://img.shields.io/david/beamvideo/beamjs.svg?maxAge=3600" alt="Dependencies" /></a>
</p>
<p>
<a href="https://beam.video"><img src="https://i.imgur.com/1JTPvM8.png" width="146" alt="beamjs"/></a><br>
## BeamJS
<a href=""><img src="http://inch-ci.org/github/beamvideo/beamjs.svg?branch=master" alt="Docs Status"></a>
<a href="https://app.fossa.com/projects/git%2Bgithub.com%2Fbeamvideo%2Fbeamjs?ref=badge_shield" alt="FOSSA Status"><img src="https://app.fossa.com/api/projects/git%2Bgithub.com%2Fbeamvideo%2Fbeamjs.svg?type=shield"/></a>
<br>
<a href="https://nodei.co/npm/beamjs-node/"><img src="https://nodei.co/npm/beamjs-node.png?downloads=true&stars=true" alt="npm installnfo" /></a>
</p>
![npm](https://img.shields.io/npm/v/beamjs-node?style=for-the-badge)![npm](https://img.shields.io/npm/dt/beamjs-node?style=for-the-badge)![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/npm/beamjs-node?style=for-the-badge)![Website](https://img.shields.io/website?down_message=offline&label=beam.video&style=for-the-badge&up_message=online&url=https%3A%2F%2Fbeam.video)![GitHub repo size](https://img.shields.io/github/repo-size/beamvideo/beamjs?style=for-the-badge)![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/beamvideo/beamjs?style=for-the-badge)![GitHub issues](https://img.shields.io/github/issues/beamvideo/beamjs?style=for-the-badge)![node](https://img.shields.io/node/v/beamjs-node?style=for-the-badge)![GitHub contributors](https://img.shields.io/github/contributors/beamvideo/beamjs?style=for-the-badge)![npm collaborators](https://img.shields.io/npm/collaborators/beamjs-node?style=for-the-badge)![GitHub last commit](https://img.shields.io/github/last-commit/beamvideo/beamjs?style=for-the-badge)
</div>
## Contents
- [About](#about)
- [Installation](#installation)
- [Example Usage](#example-usage)
## About
### What is Beam?
Beam is a music-sharing, premium chat platform where you can socialise with your friends, talk on chat or voice,
browse the internet with people all across the world.
### Why have we created **beam.js**?
beam.js is a nodejs package we created for the intention of developers to create bot's on our platform!
## Installation

@@ -23,0 +31,0 @@

'use strict';
var { getUser } = require(`${__dirname}/functions/main.js`);
require("dotenv").config();
var { login, getUserInfo } = require(`${__dirname}/functions/main.js`);
module.exports = {
getUserInfo: (user) => {
return user;
}
login: login,
getUserInfo: getUserInfo,
};

@@ -0,2 +1,25 @@

let updateClient;
module.exports = {
login: token => {
updateClient = setInterval(clientUpdate, 1000);
},
logout: () => {
process.env.BEAM_DATA_CLIENT = null;
clearInterval(updateClient);
},
users: {
get: userID => {
module.exports.getUser() = new function () {return {username: "test_user"}};
},
communities: {
get: communityID => {
},
},
},
};
function clientUpdate() {
};
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc