Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

been

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

been

Single executable static file server

  • 2.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Been

Been allows you to convert a statically exported web app into a single executable. It's a simple convenience wrapper around justine.lol's amazing redbean project.

What is redbean

Redbean makes it possible to distribute a web application as a single-file executable that is portable, meaning that it will run on Linux, macOS or Windows.

How to use

Been takes a single argument, a directory of files to be served. Once run, it will create a sibling file to the directory appending .com to it's name.

been ./dist

# ./dist.com server created
./dist.com -p 8080

Usage with static site builders

Next.js
"scripts": {
  "build": "next build && next export && been ./out"
}
Vite.js
"scripts": {
  "build": "vue-tsc --noEmit && vite build && been ./dist",
}
Create React App
"scripts": {
  "build": "react-scripts build && been ./build"
}

More

You can checkout more of how redbean works at justine.lol's site

FAQs

Package last updated on 04 May 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc