Package Exports
- dna-to-rna-converter
- dna-to-rna-converter/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dna-to-rna-converter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
DNA to RNA Converter
Description
This package provides a function to convert DNA sequences into RNA sequences by replacing the nucleotides according to standard transcription rules.
Installation
You can install the package via npm:
npm install dna-to-rna-converterUsage
Here is an example of how to use the package:
const convertDnaToRna = require('dna-to-rna-converter');
const dnaSequence = 'ATGC';
const rnaSequence = convertDnaToRna(dnaSequence);
console.log(rnaSequence); // Output: UACGRunning Tests
To run the tests, use the following command:
npm test