Bumps [js-yaml](https://github.com/nodeca/js-yaml) to 4.1.1 and updates ancestor dependencies [js-yaml](https://github.com/nodeca/js-yaml) and [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `js-yaml` from 4.1.0 to 4.1.1 - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1) Updates `js-yaml` from 3.14.1 to 3.14.2 - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1) Updates `mocha` from 9.2.2 to 11.7.5 - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/v11.7.5/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v9.2.2...v11.7.5) --- updated-dependencies: - dependency-name: js-yaml dependency-version: 4.1.1 dependency-type: indirect - dependency-name: js-yaml dependency-version: 3.14.2 dependency-type: indirect - dependency-name: mocha dependency-version: 11.7.5 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
node-metaverse
A node.js interface for Second Life.
Install
npm install --save @caspertech/node-metaverse
Usage
Javascript
const nmv = require('@caspertech/node-metaverse');
const loginParameters = new nmv.LoginParameters();
loginParameters.firstName = 'firstName';
loginParameters.lastName = 'lastName';
loginParameters.password = 'password';
loginParameters.start = "last";
const options = nmv.BotOptionFlags.LiteObjectStore | nmv.BotOptionFlags.StoreMyAttachmentsOnly;
const bot = new nmv.Bot(loginParameters, options);
bot.login().then((response) =>
{
console.log("Login complete");
//Establish circuit with region
return bot.connectToSim();
}).then(() =>
{
console.log("Connected");
}).catch((error) =>
{
console.error(error);
});
Typescript
import { Bot, BotOptionFlags, LoginParameters } from '@caspertech/node-metaverse';
const loginParameters = new LoginParameters();
loginParameters.firstName = 'firstName';
loginParameters.lastName = 'lastName';
loginParameters.password = 'password';
loginParameters.start = 'last';
const options = BotOptionFlags.LiteObjectStore | BotOptionFlags.StoreMyAttachmentsOnly;
const bot = new Bot(loginParameters, options);
bot.login().then((response) =>
{
console.log("Login complete");
//Establish circuit with region
return bot.connectToSim();
}).then(() =>
{
console.log("Connected");
}).catch((error) =>
{
console.error(error);
});
License
Description
Languages
TypeScript
87.2%
omnetpp-msg
11.5%
JavaScript
1.3%