Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Little framework to develop prototype of web app who looks like native (Progressive Web App)
Using methods when App
is called :
Function | Arguments | Types | Description |
---|---|---|---|
navigate | screenName | string | Switch into another screen |
alert | message | string | Display an alert on main screen |
getResourceURL | name, format | string, FileFormat | Return your resource link |
addComponent | tag, component | string, string | Define your custom web component in the DOM |
Custom variables you can use :
Variable | Options |
---|---|
FileFormat | PNG, JPG, GIF |
In your component script :
import { CustomComponent } from "../app/App.js";
const STYLE = `
color: blue;
`;
class MyComponent extends CustomComponent {
constructor() {
super();
// Add events listener like this.onclick
}
render() {
return `
<span style="${STYLE}">${this.properties.value}</span>
`;
}
}
export {
MyComponent
};
In your screen JavaScript file :
import { App } from "./../../app/App.js";
import { MyComponent } from "./../../components/MyComponent.js";
App.addComponent("my-component", MyComponent);
In your screen HTML file :
<my-component value="Hello blue text"></my-component>
You can define all properties you want for your component
npm install
node wak.js init
node wak.js ./MyApp screen
node wak.js ./MyApp component
node wak.js ./MyApp start
node wak.js ./MyApp upgrade
Coming soon
You can test your web app like native app just to add it as a shortcut on your mobile home screen, from your actual browser (Safari for iOS and Chrome for Android are recommended)
FAQs
Dev version - Manage WebAppKit framework
The npm package wakx-dev receives a total of 0 weekly downloads. As such, wakx-dev popularity was classified as not popular.
We found that wakx-dev demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.