Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nyaa8/package-info
📦 A GitHub Action extracting various fields from package.json and exporting them as environment variables
https://github.com/nyaa8/package-info
actions extractor hacktoberfest package version
Last synced: about 2 months ago
JSON representation
📦 A GitHub Action extracting various fields from package.json and exporting them as environment variables
- Host: GitHub
- URL: https://github.com/nyaa8/package-info
- Owner: nyaa8
- License: bsd-2-clause
- Created: 2020-10-06T14:45:11.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-30T14:54:35.000Z (about 4 years ago)
- Last Synced: 2024-10-31T10:42:25.506Z (about 2 months ago)
- Topics: actions, extractor, hacktoberfest, package, version
- Language: TypeScript
- Homepage:
- Size: 64.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📦 package-info
A GitHub Action extracting various fields from package.json and exporting them as environment variables## 📖 Docs (kind of)
### Extracted fields
- author as `PACKAGE_AUTHOR`
- description as `PACKAGE_DESCRIPTION`
- license as `PACKAGE_LICENSE`
- name as `PACKAGE_NAME`
- version as `PACKAGE_VERSION`### Usage
```yaml
- uses: nyaayaya/package-info@v1
with:
path: 'uwu/package.json' # Optional
follow-symlinks: 'false' # Optional
```And then you can use them, eg. `${{ env.PACKAGE_AUTHOR }}` 🎉
Thank you for reading this 🙇🏼♀️