
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
header-bar
Advanced tools
Basic header bar with RWD.
npm install --save-dev header-bar
import React from 'react';
import HeaderBar from 'header-bar';
class App extends React.Component {
return <div className='app'>
<HeaderBar
hamburger={{ src:'/img/hamburger.svg', title:'Menu' }}
>
<a href='//localhost' data-logo={true}><img src='/img/logo.svg' title='logo'/></a>
<a href='//nav.link.href' data-nav={true} data-color='rgb(64, 124, 156)' data-match='nav.link.href'>nav-link-1</a>
<a href='//localhost' data-nav={true} data-color='goldenrod' data-match='local(.*)'>nav-link-2</a>
<a href='//facebook.com' data-subnav={true} data-color='rgb(62, 86, 155)'><img src='/img/facebook.svg'/></a>
<a href='//sub.nav.link' data-subnav={true} data-color='rgb(229, 26, 0)'>sub-nav-link</a>
<div data-submenu_button={true} data-submenu_key='login'>
<img src='/img/facebook.svg' style={{height: '1.8em', borderRadius: '0.9em'}}/>
<span title='login'>設定</span>
</div>
<div data-submenu_button={true} data-submenu_key='logpeople'><span title='logpeople'>紀錄</span></div>
<div data-submenu_item={true} data-submenu_key='login' data-submenu_position='header'>
<div style={{color: 'rgb(24, 155, 202)'}}>VIP會員</div>
</div>
<div data-submenu_item={true} data-submenu_key='login' data-submenu_position='body'>
<a href='/user-info' title='User Info'>修改個人資訊</a>
</div>
<div data-submenu_item={true} data-submenu_key='login' data-submenu_position='body'>
<a href='/change-password' title='User Info'>更改密碼</a>
</div>
<div data-submenu_item={true} data-submenu_key='login' data-submenu_position='footer'>
<a href='/logout' title='Logout'>登出</a>
</div>
<div data-submenu_item={true} data-submenu_key='logpeople'>
<a href='/pay-history' title='Pay History'>購買紀錄</a>
</div>
</HeaderBar>
</div>;
}
@import (inline) '../node_modules/header-bar/lib/css/index.css';
cd node_module/header-bar/demo
npm install
npm start
Open demo page on http://localhost:3000
FAQs
Basic header bar with RWD.
We found that header-bar 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.