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

yuidoc-asp

v0.0.7

Published

YUIDoc, YUI's JavaScript Documentation engine tweaked to work with VB/VBScript comments.

Downloads

474

Readme

YUIDoc-asp

YUI's JavaScript Documentation engine tweaked to work with VBScript.

npm Version Build Status Dependency Status

Overview

YUIDoc-asp is a fork of YUIDoc that has been tweaked so it can recognize the comment syntax required in VBScript. This fork is an exact copy of YUIDoc except it will recognize the following comment pattern:

''/**
'' * This is an example function
'' * @method testForAwesome
'' * @param testValue {string} a value to test
'' * @return `true` when awesome is in abundance
'' */
Function testForAwesome(testValue)
  ' detect awesome
End Function

Note: The above function rarely returns true... remember, we are talking about ASP here. But as long as myself and others are burdened with maintaining legacy ASP code we might as well have decent documentation that blends perfectly with our other documentation.

Format explained:
VBScript does not have a block comment. It only supports line comments using an apostrophe as the comment marker. To make it work, the standard YUI doc comment is placed within a VBScript comment. Additionally the VBScript comment character (the apostrophe) causes issues with the code syntax highlighter (visible is you view the source from the documentation). Using two apostrophes at the start of each line "corrects" the code highlight. The code higlighter thinks the apostrophes open and close a string literal. If you only use one apostrophe the highlighting will toggle between string highlight and code highlight as it encounters each single apostrophe meant as a comment marker.

YUIDoc itself is a Node.js application used at build time to generate API documentation for JavaScript code. YUIDoc is comment-driven and supports a wide range of JavaScript coding styles. The output of YUIDoc is API documentation formatted as a set of HTML pages including information about methods, properties, custom events and inheritance for JavaScript objects.

YUIDoc was originally written for the YUI Project; it uses YUI JavaScript and CSS in the generated files and it supports common YUI conventions like Custom Events. That said, it can be used easily and productively on non-YUI code.

Installation

npm install -g yuidoc-asp

Documentation

Contributing

This project is not intended to be very actively devloped.

License

This software is free to use under the Yahoo Inc. BSD license. See the LICENSE file for license text and copyright information.