
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
fleet-optimizer
Advanced tools
Fleet Management Software (FMS)
source code:
apps:
library tech:
# https://www.npmjs.com/package/fleet-optimizer
npm i fleet-optimizer
The most optimal solution is the outcome where time is saved and where each member of the group makes more money than if they were to work individually.
tests:
fleet1 Expert Services
vehicle1 SDF123
location1 Austin, TX
examples:
# npm run examples:storedash
# npm run examples:mrclean
# npm run examples:hvacpro
# npm run examples:trucking
We use CouchDB for data persistance.
# on ubuntu 22
sudo snap install couchdb
# https://github.com/apache/couchdb-pkg/blob/main/README-SNAP.md
$ sudo ufw enable
$ sudo ufw allow 5984/tcp
$ sudo ufw reload
We use OSRM for our distance matrix api calculator:
Setup:
# install dependencies
sudo apt install build-essential git cmake pkg-config \
libbz2-dev libxml2-dev libzip-dev libboost-all-dev \
lua5.2 liblua5.2-dev libtbb-dev
# clone repository
cd ~/Projects
git clone https://github.com/Project-OSRM/osrm-backend.git
cd ./osrm-backend
# compile and install OSRM binaries
mkdir -p build
cd build
cmake ..
cmake --build .
sudo cmake --build . --target install
# return
cd ~/Projects/osrm-backend
# extract open street maps after downloading files from:
# http://download.geofabrik.de/
# because files are big they need swap enabled on them
fallocate -l 100G ~/osm/swapfile
chmod 600 ~/osm/swapfile
mkswap ~/osm/swapfile
swapon ~/osm/swapfile
# load
osrm-extract ~/osm/north-america-latest.osm.pbf -p profiles/car.lua
osrm-contract ~/osm/north-america-latest.osrm
# run
osrm-routed ~/osm/north-america-latest.osrm
# tag a vew version
$ npm version v1.0.1 --no-git-tag-version
# check everything in
$ git add . && git commit -m "version" && git push
# then check version tag in
$ git tag v1.0.1
$ git push --tags
FAQs
Fleet Management Software (FMS)
We found that fleet-optimizer 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.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.