1.0.2 • Published 5 years ago

zlazh-annotations v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Annotations

A Simple package to read annotations in files

Usage

To begin an annotation section you need to start a comment with two stars " /* " To end an annotation you need to close the comment " /" Import the package and be ready to use the module with scan_file.

Example

zlazh.scan_file("controller.js");

Rule

  • An annotation can only be on one line
  • An annotation can have a name or a single value

Methods

  • scan_file : take as argument a path, use fs to scan a file for annotations
  • scan_string : scan a string for annotations
1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago