Comments (5)
Easy enough. I have parsing functions to address some of these things too, but I'll definitely take a look at TJ's lib too:
- https://github.com/assemble/verb/blob/master/lib/utils/username.js
- https://github.com/assemble/verb/blob/master/lib/utils/convertUrl.js
btw, since you seem interested in this, have you looked at Verb? the goal with Verb is to do for GitHub projects what normalize-pkg is doing for package.json - at least in terms of the basics, like dotfiles, README.md and light documentation, etc.
from normalize-pkg.
I haven't looked into Verb yet (will do that right now), but it sounds awesome!
from normalize-pkg.
great, the yeoman generator is where I would start. After installing it globally, npm i -g generator-verb
, try running yo verb
in an empty directory, then when it's done, run verb
to generate a README.md from the template in the docs/
directory of the project you just created.
from normalize-pkg.
you can also use verb on existing repos. it's a new project, so I can really use feedback! thanks
from normalize-pkg.
The bug
field is normalized using existing repository data now.
from normalize-pkg.
Related Issues (12)
- find an API or site that provides JSON for licenses HOT 3
- store common, generic config values HOT 1
- move the CLI into a yeoman generator HOT 1
- Support for repo shorthand syntax HOT 3
- repository normalizer HOT 1
- module, like, goes crazy on empty package.json HOT 5
- Add a trailing newline when rewriting package.json file
- author fields not being parsed correctly HOT 5
- Search for local LICENSE file? HOT 1
- try to extract homepage url from repository HOT 6
- Integrate package.json validator output? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from normalize-pkg.