Sass files for DataCite services, built on top of Bootstrap.
Import into a JavaScript project using yarn to add directly from the GitHub repo. Specify the version in the command.
example: yarn add https://github.com/datacite/maltipoo#2.2.0
Import TypeScript/JavaScript constants from the package root:
import { RESOURCE_TYPE } from 'maltipoo';
Import the stylesheet into a css file
@import 'maltipoo/stylesheets/doi.min.css';
or a JavaScript file
import 'maltipoo/stylesheets/doi.min.css';
The legacy explicit dist path remains available if needed:
import 'maltipoo/dist/stylesheets/doi.min.css';
Note: Node 22+ required (pinned in .tool-versions)
- Git
- Node.js v22.x (includes Corepack)
- Yarn 4 (installed automatically via Corepack from
packageManagerinpackage.json)
git clone https://github.com/datacite/maltipoo.gitcd maltipoocorepack enableyarn installyarn build
The generated JavaScript and TypeScript declaration files are placed in dist, and the generated css files are placed in dist/stylesheets
Follow along via Github Issues.
- Fork the project
- Write tests for your new feature or a test that reproduces a bug
- Implement your feature or make a bug fix
- Do not mess with version or history
- Commit, push and make a pull request. Bonus points for topical branches.
maltipoo is released under the MIT License.