Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/intevel/read-pkg
🌠Rapid-Fast reading of package.json files in Go
https://github.com/intevel/read-pkg
go golang npm npm-package packagejson pkg
Last synced: 29 days ago
JSON representation
🌠Rapid-Fast reading of package.json files in Go
- Host: GitHub
- URL: https://github.com/intevel/read-pkg
- Owner: Intevel
- Created: 2023-04-02T08:24:08.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-02T19:20:17.000Z (almost 2 years ago)
- Last Synced: 2024-12-17T12:52:41.132Z (about 1 month ago)
- Topics: go, golang, npm, npm-package, packagejson, pkg
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# read-pkg
🌠Rapid fast reading of package.json files in Go
## Installation
```bash
go get github.com/intevel/read-pkg
```## Example
```go
package mainimport (
"log"
p "github.com/intevel/read-pkg"
)func main () {
pkg, err := p.ParsePackage()
if err != nil {
log.Fatal(err)
}
log.Println(pkg)
}
```