Molarcalc node package
Very simple npm package, just give it a valid chemical formula and get its molar mass.
Try it online
Here you can find a simple webpage that uses this package and displays its results.
How to use it
Install with:
npm i molarcalc
Then include this in your code:
const molarcalc = require('molarcalc');
console.log(molarcalc.calc('NaCl'));
Response should be:
{ atoms: [ 'Na', 'Cl' ], mass: '58.4425' }
molarcalc.calc() function returns a JSON object with an array of all the atoms found in the formula, and the calculated molar mass.
What it can and cannot do:
It recognises:
- Elements (written as their periodic table symbols).
- Frequent o-chem abbreviations such as 'Me' for methyl or 'Ph' for 'phenyl' (will probably add some more in the future).
- Numbers.
- Parentheses surrounding several elements. It will read everything inside and add it to the calculation a number of times indicated by the number after the closing parenthesis. Just a complicated way of saying that it knows how to read parentheses.
It does NOT recognise:
- Words. Won't recognise 'tri-' or 'acetyl'.
- 'Ac' for 'acetyl', as it creates a conflict with element Actinium. You will need to write 'CH3CO', 'C2H3O', 'COMe', etc.
NPM link
Browse code on Github
LabNote
Online lab documentation tool.
LabNote will allow day to day lab documentation to be stored digitally and online, making data management and replicability much easier.
With paper lab notebooks time is usually wasted looking up procedures and reaction conditions. That problem grows even bigger if you need to find several procedures to compare them and choose the best conditions known for a specific chemical process.
LabNote aims to solve this problem by allowing reaction conditions, procedures and results to be accessed easily.
Play it!
Zapatos Misterio
Solo una página simple para una zapatería... o quizás algo más.
Zapatos Misterio es un proyecto de juego web. El jugador encontrará una serie de puzles ocultos en lo que aparenta ser la página web de una zapatería normal y corriente.
Just a simple webpage for a shoe store... or is it?
Zapatos Misterio is a web game project. The player will find several puzzles hidden in what appears to be the webpage of a regular shoe shop.
(The game will only be available in Spanish!)
Play it!
Browse code on Github
Online Fruit Tier Lister
Ever wanted to organise your thoughts on just how much you like any fruit compared to another? Now you can!
Fruit Tier Lister allows you to grade the most popular fruits in different tiers, allowing for a clean, visual way to make better decissions.
Support for more fruit types might be added in the future.
Play it!
Browse code on Github
Just a Clock
Basic clock made in CSS/JS.
The simplest and most effective way to solve the problem of knowing what time it is. I made it in order not to lose track of time during lockdown.
I might add more settings and stuff in the future, but for now it's... just a clock!
Play it!
Browse code on Github
LabDB
Symfony web-app. Simple management and tracking tool for chemistry laboratory reagents.
Browse code on Github
Podcast player
Podcast client made on JS and PHP. Not really useful, but I learned how to parse an RSS feed while doing it.
Not really going for the most useful thing, I just tried to learn stuff along the way. Thus, this project has drag-and-drop, RSS feed parsing, AJAX requests, and a sort-of-but-not-quite MVC design (empty "view" and "controller" folders included).
This web-app receives a podcast's RSS feed from the user, reads it and displays the episodes it finds. Those episodes can be dragged to a playlist, where they can be played.
It works with pretty much every podcast's RSS I have tried, except, for some reason, Hello Internet. I suspect it might be an issue with the way Squarespace handles RSS feeds, but I'm no expert so I have no idea!
Browse code on Github