GithubHelp home page GithubHelp logo

isabella232 / sol-comments-parser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hq20/sol-comments-parser

0.0 0.0 0.0 265 KB

[DEPRECATED] A fast and friendly solidity comments parser :snail:

JavaScript 100.00%

sol-comments-parser's Introduction

sol-comments-parser

npm Build Status Coverage Status

NOTE: AS WE STARTED CONTRIBUTING TO SOLIDITY PARSER AND WE NOW HAVE COMMENTS PARSER WE CONSIDERED THIS DEPRECATED. SEE https://github.com/obernardovieira/solidity-parser-antlr

This is a solidity comments parser, not to be used alone, but instead, help with any other package.

Installation

Use the package manager npm or yarn to install.

npm i sol-comments-parser --save
# or
yarn add sol-comments-parser

Usage

import { mapComments } from 'sol-comments-parser';

const input = fs.readFileSync(solidityFile, encoding); // By-default used utf-8
const result = mapComments(input);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Contributors

Many thanks to the ones that helped the tool so far. If you are reading this, and have any suggestion to improve, please, do so.

License

GPL-3.0

sol-comments-parser's People

Contributors

dependabot[bot] avatar obernardovieira avatar zlocate avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.