npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@fdekit/environment-floci

v0.5.3

Published

Floci local cloud environment package for FDEKit

Readme

@fdekit/environment-floci

Purpose

@fdekit/environment-floci describes and operates a local cloud-emulator environment around an FDEKit deployment. It supports AWS, Azure, and GCP Floci modes, generates start/stop/seed commands, injects SDK environment variables, records service evidence, and supports fdekit env * commands.

Use it when the customer-like API talks to local cloud services instead of only local processes or Docker Compose services.

Who should use this package

  • Deployment authors who need local cloud emulation around an agent workflow.
  • Recipe authors packaging AWS, Azure, or GCP emulator setup with customer API evidence.
  • Contributors maintaining Floci defaults, Docker command generation, SDK env injection, and evidence metadata.

Choose a connector package when the agent needs to call a system. Choose this package when the operator needs to start, seed, check, or describe the cloud-like system around the agent.

5-minute quick example

import { defineDeployment } from '@fdekit/core';
import { flociEnvironment } from '@fdekit/environment-floci';

export default defineDeployment({
  name: 'support-triage-floci',
  environment: 'local',
  runtimeEnvironment: flociEnvironment({
    cloud: 'aws',
    services: ['s3', 'sqs', 'dynamodb'],
    customerApi: {
      url: process.env.CUSTOMER_API_URL ?? 'http://localhost:8787',
      healthUrl: 'http://localhost:8787/health',
    },
    seed: {
      command: 'npm run seed:floci',
      description: 'Seed local cloud resources and customer records.',
    },
  }),
  providers: {
    mock: { name: 'mock' },
  },
  agents: {
    // ...
  },
});

Then run:

fdekit env start
fdekit env seed
fdekit env doctor
fdekit env describe

Public API surface

Import from the package root:

import { flociEnvironment } from '@fdekit/environment-floci';
import type { FlociCloudProvider, FlociEnvironmentOptions } from '@fdekit/environment-floci';

Root exports include flociEnvironment, Floci cloud/default/config/definition types, command helpers such as dockerStartCommand, cloud helpers such as getFlociCloudDefaults, and service/storage utility types. The environment family is summarized in the public API index: Public API Reference.

Stability/backward-compat notes

@fdekit/environment-floci is public but pre-1.0. The package-root factory, option/config types, cloud defaults, command names, environment kind local-floci, SDK env injection, and evidence shape are compatibility-sensitive.

Subpath imports are internal. Keep this package operator-facing; agents should still call customer systems through connectors.

Provider notes

cloud: 'azure' uses floci/floci-az:latest on port 4577, injects the documented Azure storage connection string shape, and exposes endpoint helpers for Blob, Queue, Table, Functions, App Configuration, Key Vault, Event Hubs, and Cosmos engines. Services such as functions, eventhub, cosmos-mongo, cosmos-postgres, cosmos-cassandra, and cosmos-gremlin automatically mount the Docker socket because Floci AZ runs those engines through Docker. Cosmos engine service names also set the matching FLOCI_AZ_SERVICES_COSMOS_ENGINES_*_ENABLED=true flag, which callers can override with env.

cloud: 'gcp' uses floci/floci-gcp:latest on port 4588, injects the documented GCP emulator host variables, and maps projectId into both FLOCI_GCP_DEFAULT_PROJECT_ID and GOOGLE_CLOUD_PROJECT. Services such as kafka or managed-kafka automatically mount the Docker socket for Floci GCP Managed Kafka, but they do not add Azure-native port mappings.

Use volumes when the emulator container needs a persisted host directory, for example volumes: ['./data:/app/data'] with persistentPath: '/app/data'.

See also