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

blended

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blended

The blended is a type of JavaScript framework (Blended Host) that allows you to render a Blended theme. Simply, you can install the blended, specify the root path of your theme, run the server and can browse your website which is running on a Blended the

latest
npmnpm
Version
0.2.2
Version published
Weekly downloads
80
14.29%
Maintainers
4
Weekly downloads
 
Created
Source

About Blended

The blended is a type of JavaScript framework (Blended Host) that allows you to render a Blended theme. Simply, you can install the blended, specify the root path of your theme, run the server and can browse your website which is running on a Blended theme.

Installation

npm install blended

Usage

const express = require('express')

const blended = require('blended’)

const app = express()

const port = 3000

var blendedapp = new blended()

blendedapp = blendedapp.express(app)

var themes = blendedapp.packages('<theme_path>')

themes.login('user','password')

var theme = themes.load("account", "slug")

app.get('/', (req, res) => {

res.render('home.html',{theme:theme,message:"hello world"})

})

app.listen(port, () => {

console.log(Example app listening on port ${port})

})

API

CSS Endpoint

If you want to provide the path of CSS then you can change this by following API:

If you will not provide the path then it will host the directory called static in the root.

app.set ('css_path','/css')

Js Endpoint

If you want to provide the path of js then you can change this by following API:

If you will not provide the path then it will host the directory called static in the root.

app.set ('js_path','/js')

Media Endpoint

By default application will host the media at media directory in the root but you can change this by following API:

app.set ('media_path','/media')

License

MIT

FAQs

Package last updated on 25 Jun 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