Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@nstudio/electron-angular
Advanced tools
xplat is an added value pack for Nx which provides additional app generators and optional supporting architecture for different platform/framework combinations.
Build cross platform desktop apps with JavaScript, HTML, and CSS.
Build amazing apps in one codebase, for any platform, with the web.
Build rich iOS and Android apps with direct access to native api's from JavaScript directly.
npx create-nx-workspace@latest
At the prompts:
What to create in the new workspace
choose
apps
npm i @nstudio/xplat -D
You are now ready to create apps:
nx g app
NOTE: If you encounter any issue, you can try creating an Nx workspace with version specified, for example:
npx create-nx-workspace@14.1.7
The additional app generators can be used as follows:
Electron app generator can use any web app in the workspace as it's target.
If you don't have a web app yet, create one first:
nx g app sample
choose
web
You can now use the web app as the Electron target:
nx g app desktop --target=web-sample
choose
electron
Develop with:
npm run start.electron.desktop
nx g app sample
choose
ionic
Develop in browser with:
nx serve ionic-sample
Build Ionic app:
nx build ionic-sample
A. Capacitor iOS - Prepare for development
npm run prepare.ionic.sample.ios
You can now open in Xcode for further development:
npm run open.ionic.sample.ios
B. Capacitor Android - Prepare for development
npm run prepare.ionic.sample.android
You can now open in Android Studio for further development:
npm run open.ionic.sample.android
nx g app mobile
choose
nativescript
A. iOS
nx run nativescript-mobile:ios
B. Android
nx run nativescript-mobile:android
FAQs
Electron Angular Plugin for xplat
The npm package @nstudio/electron-angular receives a total of 440 weekly downloads. As such, @nstudio/electron-angular popularity was classified as not popular.
We found that @nstudio/electron-angular demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.