Skip to content

publish package to npm #15

Description

@sunnz

so that npm install --save-dev @faker-js/cli works

I am assuming this is a work-in-progress so it hasn't been pushed to npm yet?

Activity

  1. ST-DDT commented on Sep 21, 2023

    @ST-DDT
    Member

    This is planned, but we aren't ready for that yet.

  2. xDivisionByZerox commented on Oct 6, 2023

    @xDivisionByZerox
    Member

    Sorry for the late response. I accidentally unsubscribed from activities from this repo. As @ST-DDT already said. I'm not quite ready to release this package for now. Additionally I had some issues getting the right to the npm organization.
    I'll update this issue if I release the first version.

  3. tehdb commented on Dec 27, 2024

    @tehdb

    I was unaware of this repository's existence and independently developed a CLI wrapper based on the latest version of @faker-js/faker as of today. https://www.npmjs.com/package/@tehdb/faker-cli
    Perhaps we could merge our code and publish the tool under the @faker-js/cli name, ensuring a unified and officially supported CLI for Faker.js

  4. xDivisionByZerox commented on Jan 1, 2026

    @xDivisionByZerox
    Member

    @sunnz @tehdb I'm just letting you know that I've published a first, minimal, alpha version of this project to npm:

    You can install this CLI now:

    npm install --global @faker-js/cli

    Afterwards you should be able to use the basic functions:

    Command Description
    faker int Generate a random integer
    faker firstName Generate a random first name
    faker -m string numeric Generate a random numeric string explicitly using the string module (not required tho)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions