Skip to content

Commit

Permalink
Create exoticMatter.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Jul 21, 2024
1 parent af23be8 commit 9292335
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions utils/exoticMatter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// exoticMatter.js
import * as ExoticMatter from 'exotic-matter';

const exoticMatterUtils = {
createExoticMatter: (type) => {
return new ExoticMatter.ExoticMatter(type);
},
manipulateExoticMatter: (exoticMatter, operation) => {
return exoticMatter.manipulate(operation);
},
};

export default exoticMatterUtils;

0 comments on commit 9292335

Please sign in to comment.