You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@w3nest/w3lab

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@w3nest/w3lab

The W3Nest's laboratory application.

0.8.0
latest
npmnpm
Version published
Maintainers
0
Created
Source

@w3nest/w3lab

The W3Nest's laboratory application.

This library is part of the hybrid cloud/local ecosystem YouWol.

Running app.

Online user-guide

Developers documentation

Package on npm

Source on GitHub

Installation, Build, Test

To install the required dependencies:

yarn

To build for development:

yarn build:dev

To build for production:

yarn build:prod

To run tests:

yarn test

Coverage can be evaluated using:

yarn test-coverage

To start the 'dev-server':

yarn start

In order to use the dev-server within Py-YouWol and to serve resources in place of the usual CDN database, the Py-YouWol configuration needs to be updated to include a WebpackDevServerSwitch within a FlowSwitcherMiddleware. For example:

from w3nest.app.environment import *
from w3nest.ci.ts_frontend import WebpackDevServerSwitch

Configuration(
    customization = Customization(
        middlewares = [
            FlowSwitcherMiddleware(
                name = 'front-end dev-servers',
                oneOf = [
                    WebpackDevServerSwitch(packageName="@w3nest/w3lab", port=3023),
                ]
            )
        ]
    )
)

Additional information on the Configuration class can be found in the "Configuration API" page of the Py-YouWol guide.

Once Py-YouWol is running with the updated configuration, the application can be accessed from here (providing py-youwol running using the default port 2000).

To generate code's documentation:

yarn doc

FAQs

Package last updated on 06 Mar 2025

Did you know?

Socket

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.

Install

Related posts