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

sfdxdatadicgen

v0.1.3

Published

Sdfx plugin that generates Data Dictionary from an org

Readme

dataDicGen

Increase the governance quality on your salesforce implementation with this Sdfx plugin that generates Data Dictionary in xlsx format from an org.

Version Appveyor CI Codecov Known Vulnerabilities Downloads/week License

$ npm install -g sfdxdatadicgen
$ sfdx COMMAND
running command...
$ sfdx (-v|--version|version)
sfdxdatadicgen/0.1.3 darwin-x64 node-v15.10.0
$ sfdx --help [COMMAND]
USAGE
  $ sfdx COMMAND
...

sfdx dataDictionary:generate [-o <string>] [-m] [-s <array>] [-l <array>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

generates the Data dictionary for selected org in excel format

USAGE
  $ sfdx dataDictionary:generate [-o <string>] [-m] [-s <array>] [-l <array>] [-v <string>] [-u <string>] [--apiversion 
  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -l, --includemanagedpackages=includemanagedpackages                               List of namespaces of manage
                                                                                    packages that will be downloaded.+

  -m, --includemanaged                                                              boolean that indicates if managed
                                                                                    package files should also be
                                                                                    included

  -o, --output=output                                                               destination and file name for xls
                                                                                    dataDictionary

  -s, --includestandardsobjects=includestandardsobjects                             Additional standard objects
                                                                                    (Account, Contact and User go by
                                                                                    default)

  -u, --targetusername=targetusername                                               username or alias for the target
                                                                                    org; overrides default target org

  -v, --targetdevhubusername=targetdevhubusername                                   username or alias for the dev hub
                                                                                    org; overrides default dev hub org

  --apiversion=apiversion                                                           override the api version used for
                                                                                    api requests made by this command

  --json                                                                            format output as json

  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)  [default: warn] logging level for
                                                                                    this command invocation

EXAMPLES
  $ sfdx dataDictionary:generate --targetusername [email protected]
  
  $ sfdx dataDictionary:generate -u myOrgName -m true -s Case,Opportunity,Product2

See code: src/commands/dataDictionary/generate.ts

Basic usage and informations

This plugin was written based on the data model generator by @gavignon. The standard behaviour of the script is to generate a file, on the folder that the command is run on its most basic configuration: $ sfdx sfdc-generate-data-dictionary -u myalias, with the same name of the alias/username of an authenticated Org/scratch org. As a standard, the application will list all Custom objects, and Accounts, Contacts and Usres for the Standard objects. Objects from Managed Packages and other Standard Objects have to be configured. The attribute -m takes in a boolean and defines if the managed packages objects should be documented on the data dictionary. If the flag is set to true, ALL MANAGED PACKAGES OBJECTS WILL BE ADDED TO THE FILE. To select extra objects to be included in the data dictionary, Manually add the API NAMES of the desired objects (if a managed package object, include the managed package prefix).

What information is displayed?

As of now, the SFDX Plugin displays:

  • Spreadsheet workbooks separated by Objects Api Names
  • Field Names
  • Field Types
  • Possible Values if Picklist
  • Formula if Formula field
  • Read only flag
  • Mandatory Flag

Feel free to ask for features, but as for time to implement them, I cannot promise too much, but I will work on them as soon as I can. If you want to help out to support this initiative, a donation is welcome.

Donation

If this project help you, you can give me a cup of coffee :)

paypal