Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
terriajs-server
Advanced tools
NodeJS server for TerriaJS, consisting of a CORS proxy, proj4 CRS lookup service, ogr2ogr conversion service, and express static server.
This is a basic NodeJS Express server that serves up a (not included) static TerriaJS site (such as National Map) with a few additional useful services:
/proxy
: a proxy service which applies CORS headers for data providers that lack them. Add URLs to config.json to enable them./proj4def
: a proj4 coordinate reference system lookup service./convert
: an ogr2ogr server-side conversion service./ping
: returns 200 OK.wwwroot
directory you provide on the command line, which defaults to ./wwwroot
git clone https://github.com/terriajs/terriajs-server
cd terriajs
npm install
If you are running the server separately from a built TerriaJS map, create a local config.json with a list of domains you're willing to proxy for:
{
"proxyDomains": [
"gov.au"
]
}
node app path/to/myterriamap/wwwroot
app [options] [path-to-wwwroot]
Options:
--port Port to listen on. [default: 3001]
--public Run a public server that listens on all
interfaces. [boolean] [default: true]
--upstream-proxy A standard proxy server that will be used to
retrieve data. Specify a URL including port,
e.g. "http://proxy:8000".
--bypass-upstream-proxy-hosts A comma separated list of hosts that will
bypass the specified upstream_proxy, e.g.
"lanhost1,lanhost2"
--help, -h Show this help. [boolean]
FAQs
NodeJS server for TerriaJS, consisting of a CORS proxy, proj4 CRS lookup service, and express static server.
The npm package terriajs-server receives a total of 146 weekly downloads. As such, terriajs-server popularity was classified as not popular.
We found that terriajs-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.