New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

n-actjs

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n-actjs

[Modern Act](https://github.com/ICe1BotMaker/modern-act) didn't go as well as I thought, and I was very disappointed, so I made a new one.

latest
npmnpm
Version
1.0.0-b
Version published
Maintainers
1
Created
Source

Act.js

Modern Act didn't go as well as I thought, and I was very disappointed, so I made a new one.

An improvement

  • (not yet) The original Modern Act was if xml was parsed to js, Act.js uses js and xml together.

  • The existing Modern Act used the express module, but Act.js implemented the server directly using the http module.

  • Overall, the serious security concerns of the Modern Act have been improved.

Usage

Package act.js already exists and has been replaced with n-actjs

import Act from 'n-actjs';

const doc = {
    route: `/home`,
    method: `get`,
    header: { "Content-Type": "text/html" },
    body: Act.createElement(`embed`, {}, 
        Act.createElement(`title`, {}, `Examples`),

        Act.createElement(`div`, {}, 
            Act.createElement(`h1`, {}, `Hello, world!`)
        ),
    )
};

export default doc;

FAQs

Package last updated on 21 Jun 2023

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