
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@workadventure/scripting-api-extra
Advanced tools
A set of utility functions / features to improve WorkAdventure maps
This NPM package contains a set of reusable utility functions and features that can be used to enhance WorkAdventure maps.
There are many ways to import the @workadventure/scripting-api-extra
package.
If you only want to use the extra "features", you can directly import the package in your map, by adding a "script" property at the map level, pointing to the "bundled" package:
script: https://unpkg.com/@workadventure/scripting-api-extra@^1/dist/bundle.js
Please note that you can change the version number of the package in the URL.
If you are developing your own scripts, you can import the library using NPM.
npm install --save @workadventure/scripting-api-extra
Properties
related functions (utility functions to acces properties...)Variables
related functions (access variables metadata...)Layers
related functions (get a list of all layers, find layers boundaries...)# install dependencies
$ npm install
# run unit tests
$ npm run tests
# run integration tests
$ npm run start # then browse to http://localhost:3000/test/maps/
Note: npm run start
will connect to play.workadventu.re
to server WorkAdventure.
If for development purpose, you want to connect to a development WorkAdventure server, you can use the WORKADVENTURE_URL
environment variable:
$ WORKADVENTURE_URL="http://play.workadventure.localhost" npm run start
FAQs
A set of utility functions / features to improve WorkAdventure maps
The npm package @workadventure/scripting-api-extra receives a total of 211 weekly downloads. As such, @workadventure/scripting-api-extra popularity was classified as not popular.
We found that @workadventure/scripting-api-extra demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.