Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arduino/arduino-fqbn.js
A library to parse and stringify arduino fqbn
https://github.com/arduino/arduino-fqbn.js
Last synced: about 1 month ago
JSON representation
A library to parse and stringify arduino fqbn
- Host: GitHub
- URL: https://github.com/arduino/arduino-fqbn.js
- Owner: arduino
- License: other
- Created: 2018-07-03T10:19:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T13:19:58.000Z (over 1 year ago)
- Last Synced: 2024-09-29T09:54:54.603Z (about 2 months ago)
- Language: JavaScript
- Size: 1.08 MB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 40
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
arduino-fqbn
============- Parse arduino fqbn:
```javascript
fqbn.parse('arduino:avr:mega:cpu=atmega1260,mem=1024')
{
packager: 'arduino',
architecture: 'avr',
id: 'mega',
config: {
cpu: 'atmega1260',
mem: '1024'
}
}
```- And viceversa:
```javascript
fqbn.stringify('arduino','avr','mega', {
cpu: 'atmega1260',
mem: '1024'
})
'arduino:avr:mega:cpu=atmega1260,mem=1024'
```How to deploy on npm
--------------------1. Change the version in package.json
2. Login with `npm login`
3. Publish with `npm publish`