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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ily1437/jsdoc

v1.8.9

Published

build jsdoc

Downloads

20

Readme

version log

how to use

  1. npm install @ily1437/jsdoc
  2. cd project_directory;suppose project_directory/src is source dir.
  3. run node ./node_modules/@ily1437/jsdoc with:
    1. v1.0.3+: .jsdocrc.js file in project root directory

      module.exports = {
          dir: './src',
          // docErrorDir: `dist/docErrorFiles/`,
          docOutputDir: `dist/docFiles/pages`,    //optional
          debug: false,
          index: 'indexContent.html',
          mdConfig: 'mdConfig.json',  //since 1.5.0
          pageConfig: {   //since 1.4.0
              css: ['../page_patch.css'],
              js: []
          },
          indexConfig: {   //since 1.4.0
              css: ['index_patch.css'],
              js: []
          },
          demoConfig: {   //since 1.7.8
              text: 'Demos',
              url: '../demo.html',
              inputDir: './inputDirName', //since 1.8.0
              outputDir: './outputDirName',   //since 1.8.0
          },
          patchDir: './docPatch',   //since 1.4.0
          keywordsDic: {  //since v1.2.3
              Enum: true, ...
          }
      }
    2. v1.0.2-: cmd params: ./src [enableDebug] [indexContentFilePath]


v1.8.9 [2024-04-12]

  1. fix bug for window

v1.8.8 [2024-04-12]

  1. fix catch

v1.8.7 [2023-12-07]

  1. fix bug for createClazz

v1.8.6 [2023-12-07]

  1. support: when read index.js, use its <dirname>.js as doc file target
  2. fix tip: Cannot read properties of undefined (reading 'name')

v1.8.5 [2022-11-10]

  1. update @param when type is defined with json structure
  2. support type[]

v1.8.4 [2022-11-09]

  1. update @see

v1.8.3 [2022-10-25]

  1. fix a bug

v1.8.2 [2022-10-25]

  1. change demo behavior

v1.8.1 [2022-10-24]

  1. change demo behavior

v1.8.0 [2022-10-20]

  1. optimize demoConfig

v1.7.11 [2022-10-14]

  1. optimize code

v1.7.10 [2022-10-8]

  1. fix a bug

v1.7.9 [2022-9-8]

  1. fix a bug

v1.7.8 [2022-9-8]

  1. add DemoConfig for jsdocrc

v1.7.7 [2022-9-8]

  1. fix a bug for the api with @ignore keyword

v1.7.6 [2022-8-23]

  1. optimize

v1.7.5 [2022-7-26]

  1. enable doc content for ignoreClazz

v1.7.4 [2022-7-25]

  1. fix copy patch files

v1.7.3 [2022-7-13]

  1. fix for code

v1.7.2 [2022-7-6]

  1. fix menu item selected

v1.7.1 [2022-6-27]

  1. optimize code for indexContent

v1.7.0 [2022-6-20]

  1. output date and version of package to files

v1.6.7 [2022-6-20]

  1. Now all patchDir files are copied to output directory.

v1.6.6 [2022-6-17]

  1. fix position of menu item selected

v1.6.5 [2022-6-17]

  1. fix position of menu item selected

v1.6.4 [2022-6-17]

  1. fix menu item selected

v1.6.3 [2022-6-15]

  1. add quick-start nav

v1.6.2 [2022-6-15]

  1. fix a bug.

v1.6.1 [2022-6-14]

  1. change indexContent to a page slice.

v1.6.0 [2022-6-14]

  1. update menu

v1.5.0 [2022-5-26]

  1. support mdConfig:
    1. when type is String, it is a path based on project root

    2. when type is Array or JSON, it is config data.

      [
          {
              "md": "readme.MD",
              "filename": "doc/md/readme.html",
              "template": "template/template.html"
          }
      ]

v1.4.1 [2022-5-26]

  1. move github-dark.css from js to config

v1.4.0 [2022-3-31]

  1. support css/js patch for index & pages

v1.3.0 [2022-3-10]

  1. fix for createClazz

v1.2.9 [2022-3-9]

  1. fix a bug

v1.2.8 [2022-3-8]

  1. fix a bug for readClazzInfo

v1.2.7 [2022-1-16]

  1. fix a bug for the member of class which is filled with a variant in class file scope;

v1.2.6 [2021-12-28]

  1. fix a bug for createClazz, when it is a variant declaration;

v1.2.5 [2021-12-8]

  1. support @see {A.B#c}
  2. support multi-line comments

v1.2.4 [2021-12-4]

  1. support @ignoreClazz for class block comment and constructor comment

v1.2.3 [2021-11-20]

  1. add keywordDic for .jsdocrc.js, you can highlight more keywords for api in jsdoc

v1.1.0 [2021-11-8]

  1. update highlight for code `

v1.0.3 [2021-9-29]

  1. fix bug for index page menu: Class items

v1.0.2 [2021-8-22]

  1. 支持export 值为 createClazz, 它的return值会作为Class来解析

v1.0.1 [2021-8-10]

build jsdoc

  1. 支持动态class的js doc生成
  2. 支持es
    1. static public attribute: static get prop = v;
    2. static public attribute: static get prop(){}
    3. static public member: static method(){}
    4. public attribute: get prop(){}
    5. public member: prop = v;
    6. public method: method(){}
  3. 支持@memberof / @see / @example / @params / @returns
    1. 支持关键字highlight
  4. 支持method的comments与内部变量关联时的引用
  5. 支持class的constructor备注与class备注的合一,优先使用constructor的备注
  6. 支持自定义首页